[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH] x86: Factor out common CPU initialization	code
 
 
On 03/31/2015 11:55 AM, Ingo Molnar wrote:
 
* 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
 
Yes, I was somewhat out-of-date, sorry. Let me re-test this and submit v2.
-boris
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
 
 
    
     |