Re: [PATCH 01/27] smpboot: Provide a generic method to bootsecondary processors

From: Yong Zhang
Date: Sun Jun 03 2012 - 22:19:08 EST


On Sun, Jun 03, 2012 at 04:52:23PM +0530, Srivatsa S. Bhat wrote:
> In short, to avoid breaking build on x86.
> We wanted to follow the x86 convention of having static inline functions in
> arch/x86/include/asm/smp.h and use the smp_ops structure to route the calls
> to x86 or xen as appropriate (see patch 4 in this series).
>
> But __weak definitions interfere with that and break the build. Hence, we
> followed what Linus suggested doing in a similar context:
> https://lkml.org/lkml/2008/7/26/187

Good to know that, thanks for your explanation.

Yong
--
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/