Re: [RFC,1/5] arm/dt: Add dt machine definition

From: Milton Miller
Date: Wed Jan 26 2011 - 13:28:03 EST


On Wed, 26 Jan 2011 about 04:44:06 -0000, Grant Likely wrote:
>
> Signed-off-by: Grant Likely <grant.likely@xxxxxxxxxxxx>

needs a description ...
>
> ---
> arch/arm/include/asm/mach/arch.h | 9 +++++++++
> 1 files changed, 9 insertions(+), 0 deletions(-)
>
>
>
> +#define MACH_TYPE_DT 0xffffffff
> +
> +#define DT_MACHINE_START(_name, _namestr) \
> +static const struct machine_desc __mach_desc_##_name \
> + __used \
> + __attribute__((__section__(".arch.info.init"))) = { \

linux/compiler.h defines __section for this

> + .nr = MACH_TYPE_DT, \
> + .name = _namestr,
> +
> #endif

milton
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/