lkml.org 
[lkml]   [2011]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC,1/5] arm/dt: Add dt machine definition
Date
On Wed, 26 Jan 2011 about 04:44:06 -0000, Grant Likely wrote:
>
> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

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


\
 
 \ /
  Last update: 2011-01-26 19:31    [W:0.060 / U:3.532 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site