[PATCH v3 08/31] arm64: CPU support

Arnd Bergmann arnd at arndb.de
Fri Sep 7 15:24:38 EDT 2012


On Friday 07 September 2012, Catalin Marinas wrote:
> +
> +#include <asm/cputable.h>
> +
> +extern unsigned long __cpu_setup(void);
> +
> +struct cpu_info __initdata cpu_table[] = {
> +	{
> +		.cpu_id_val	= 0x000f0000,
> +		.cpu_id_mask	= 0x000f0000,
> +		.cpu_name	= "AArch64 Processor",
> +		.cpu_setup	= __cpu_setup,
> +	},
> +	{ /* Empty */ },
> +};

> +#define MAIR(attr, mt)	((attr) << ((mt) * 8))
> +
> +ENTRY(cpu_proc_init)
> +	ret
> +ENDPROC(cpu_proc_init)
> +
> +ENTRY(cpu_proc_fin)
> +	ret
> +ENDPROC(cpu_proc_fin)


These seem to be leftovers from multi-cpu support that can be removed.

	Arnd



More information about the linux-arm-kernel mailing list