[RFC PATCH 1/5] ARM: Make cpu_alignment into a global variable

Tixy tixy at yxit.co.uk
Wed Aug 10 07:38:29 EDT 2011


Shouldn't the title of this patch no have 'cpu_architecture' rather than
'cpu_alignment'?

On Wed, 2011-08-10 at 11:13 +0100, Dave Martin wrote:
> @@ -114,6 +115,7 @@ struct cpu_cache_fns cpu_cache __read_mostly;
>  struct outer_cache_fns outer_cache __read_mostly;
>  EXPORT_SYMBOL(outer_cache);
>  #endif
> +int cpu_architecture __read_mostly;

I would have been tempted to initialise the variable to
CPU_ARCH_UNKNOWN, though as this is defined as zero it's a bit moot.

-- 
Tixy




More information about the linux-arm-kernel mailing list