[RFC PATCH v2 1/5] ARM: mm: Add generic proc/arch struct definition macros

Nicolas Pitre nicolas.pitre at linaro.org
Sun Jun 19 23:13:46 EDT 2011


On Thu, 16 Jun 2011, Dave Martin wrote:

> Alternatively, we could propose a change <linux/init.h> to split the
> __INITDATA macro up, and define the related macros in a sane way:
> 
> #define __INITDATA_NAME .init.data
> #define __INITDATA_FLAGS "aw",%progbtis
> #define __initdata __section(__INITDATA_NAME)
> #define __INITDATA .section __stringify(__INITDATA_NAME),__INITDATA_FLAGS
> 
> Any thoughts on that?

I do like it.


Nicolas



More information about the linux-arm-kernel mailing list