From: marc.zyngier@arm.com (Marc Zyngier)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH v2 3/3] ARM: SoC: convert VExpress/RealView to SoC descriptor
Date: Fri, 09 Sep 2011 16:20:18 +0100 [thread overview]
Message-ID: <4E6A2EB2.6080803@arm.com> (raw)
In-Reply-To: <201109091656.44068.arnd@arndb.de>
On 09/09/11 15:56, Arnd Bergmann wrote:
> On Friday 09 September 2011, Marc Zyngier wrote:
>> Convert both Realview and VExpress to use the SoC descriptor to
>> provide their SMP and CPU hotplug operation.
>>
>> Cc: Arnd Bergmann <arnd@arndb.de>
>> Cc: Nicolas Pitre <nico@fluxnic.net>
>> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
>
> Yes, looks good to me.
>
>> }
>> +
>> +struct arm_soc_desc realview_soc_desc __initdata = {
>> + .name = "ARM RealView Platform",
>> +#ifdef CONFIG_SMP
>> + .smp_ops = &realview_soc_smp_ops,
>> +#endif
>> +};
>
> Do you think we should have a macro for this? Since this is
> always the same, we could do something like
>
> #ifdef CONFIG_SMP
> #define soc_smp_ops(ops) .smp_ops = &(ops),
> #else
> #define soc_smp_ops(ops) /* empty */
> #endif
That would be an improvement indeed. Will queue that for v3.
Thanks,
M.
--
Jazz is not dead. It just smells funny...
prev parent reply other threads:[~2011-09-09 15:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-09 14:46 [RFC PATCH v2 0/3] Per SoC descriptor Marc Zyngier
2011-09-09 14:46 ` [RFC PATCH v2 1/3] ARM: SoC: Introduce per " Marc Zyngier
2011-09-09 14:46 ` [RFC PATCH v2 2/3] ARM: SoC: Add per SoC SMP and CPU hotplug operations Marc Zyngier
2011-09-09 14:55 ` Santosh
2011-09-09 15:06 ` Arnd Bergmann
2011-09-09 17:06 ` Santosh
2011-09-09 15:13 ` Marc Zyngier
2011-09-09 17:07 ` Santosh
2011-09-09 18:17 ` Nicolas Pitre
2011-09-09 14:46 ` [RFC PATCH v2 3/3] ARM: SoC: convert VExpress/RealView to SoC descriptor Marc Zyngier
2011-09-09 14:56 ` Arnd Bergmann
2011-09-09 15:20 ` Marc Zyngier [this message]
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=4E6A2EB2.6080803@arm.com \
--to=marc.zyngier@arm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox