[RFC PATCH 0/2] ARM: Add a generic macro for declaring proc_info structs
Russell King - ARM Linux
linux at arm.linux.org.uk
Mon Jun 13 09:12:57 EDT 2011
On Mon, Jun 13, 2011 at 02:10:08PM +0100, Dave Martin wrote:
> Using macros such as you suggest would force a consistent naming on
> different CPUs' helper functions, which actually seems rather a good thing.
> A possible downside is that the relationship between those functions
> and the macro becomes invisible in proc-*.S (though a very brief comment
> or two could easibly address that).
The consistent naming is already required for the !MULTI_CPU, etc.
Same for the cache and tlb structs.
The processor structure has less strict requirements though.
More information about the linux-arm-kernel
mailing list