From: miltonm@bga.com (Milton Miller)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC,1/5] arm/dt: Add dt machine definition
Date: Wed, 26 Jan 2011 12:27:50 -0600 [thread overview]
Message-ID: <lkml-patchwork-507601-use-section@mdm.bga.com> (raw)
In-Reply-To: <20110126044406.16410.22096.stgit@localhost6.localdomain6>
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
WARNING: multiple messages have this Message-ID (diff)
From: Milton Miller <miltonm@bga.com>
To: Grant Likely <grant.likely@secretlab.ca>
Cc: devicetree-discuss@lists.ozlabs.org, jeremy.kerr@canonical.com,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.orga, nicolas.pitre@linaro.org
Subject: Re: [RFC,1/5] arm/dt: Add dt machine definition
Date: Wed, 26 Jan 2011 12:27:50 -0600 [thread overview]
Message-ID: <lkml-patchwork-507601-use-section@mdm.bga.com> (raw)
In-Reply-To: <20110126044406.16410.22096.stgit@localhost6.localdomain6>
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
next prev parent reply other threads:[~2011-01-26 18:27 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-26 4:44 [RFC PATCH 0/5] arm/dt: register devices from device tree Grant Likely
2011-01-26 4:44 ` Grant Likely
2011-01-26 4:44 ` Grant Likely
2011-01-26 4:44 ` [RFC PATCH 1/5] arm/dt: Add dt machine definition Grant Likely
2011-01-26 4:44 ` Grant Likely
2011-01-26 4:44 ` Grant Likely
2011-01-26 18:27 ` Milton Miller [this message]
2011-01-26 18:27 ` [RFC,1/5] " Milton Miller
2011-01-27 3:31 ` Grant Likely
2011-01-26 4:44 ` [RFC PATCH 2/5] drivers/amba: probe via device tree Grant Likely
2011-01-26 4:44 ` Grant Likely
2011-01-26 4:44 ` Grant Likely
2011-01-26 4:44 ` [RFC PATCH 3/5] of: add clock providers Grant Likely
2011-01-26 4:44 ` Grant Likely
2011-01-26 4:44 ` Grant Likely
2011-01-26 5:47 ` Paul Mundt
2011-01-26 5:47 ` Paul Mundt
2011-02-01 22:42 ` Rob Herring
2011-02-01 22:42 ` Rob Herring
2011-01-26 4:44 ` [RFC PATCH 4/5] arm/clkdev: lookup clocks from OF " Grant Likely
2011-01-26 4:44 ` Grant Likely
2011-01-26 4:44 ` Grant Likely
2011-01-26 4:44 ` [RFC PATCH 5/5] arm/versatile: add a device tree versatile platform Grant Likely
2011-01-26 4:44 ` Grant Likely
2011-01-26 4:44 ` Grant Likely
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=lkml-patchwork-507601-use-section@mdm.bga.com \
--to=miltonm@bga.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.