[RFC PATCH 0/2] ARM: Add a generic macro for declaring proc_info structs
Dave Martin
dave.martin at linaro.org
Mon Jun 13 09:48:06 EDT 2011
On Mon, Jun 13, 2011 at 02:12:57PM +0100, Russell King - ARM Linux wrote:
> 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.
OK, well I might have a go at this for the CPU func structs at some point,
and see how it turns out.
Cheers
---Dave
More information about the linux-arm-kernel
mailing list