[Linux-Xtensa] Re: xtensa: CONFIG_ARCH_HAS_SMP?
Max Filippov
jcmvbkbc at gmail.com
Mon Mar 25 06:07:36 PDT 2013
Hi Paul,
On Mon, Mar 25, 2013 at 3:14 PM, Paul Bolle <pebolle at tiscali.nl> wrote:
> 0) Commit 0d456bad36d42d16022be045c8a53ddbb59ee478 ("xtensa: add support
> for the XTFPGA boards") added these lines to
> [...]/platforms/xtfpga/include/platform/hardware.h:
> #ifdef CONFIG_ARCH_HAS_SMP
> #define DUART16552_INTNUM XCHAL_EXTINT3_NUM
> #define OETH_IRQ XCHAL_EXTINT4_NUM
> #else
> [...]
>
> 1) But there's nothing related to CONFIG_ARCH_HAS_SMP in the tree. Was
> perhaps CONFIG_SMP intended? Or can these lines be dropped?
this was a part of logic that used to map external IRQs to different
internal IRQs depending on SMP interrupt distributor presence. These
lines may be dropped as this mapping will be a part of IRQ controller
code in the upcoming SMP-enabling patches.
--
Thanks.
-- Max
More information about the linux-xtensa
mailing list