* Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx> wrote:
Some of x86 bare-metal and Xen CPU initialization code is common between the two
and therefore can be factored out to avoid code duplication.
As a side effect, doing so will also extend the fix provided by commit
a7fcf28d431e ("x86/asm/entry: Replace this_cpu_sp0() with current_top_of_stack()
to x86_32") to 32-bit Xen PV guests.
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
---
arch/x86/include/asm/smp.h | 1 +
arch/x86/kernel/smpboot.c | 39 +++++++++++++++++++++++----------------
arch/x86/xen/smp.c | 14 +-------------
3 files changed, 25 insertions(+), 29 deletions(-)
This does not apply to the latest x86 tree (tip:master).
Thanks,
Ingo