Re: [PATCH] x86: Factor out common CPU initialization code

2015-03-31 Thread Boris Ostrovsky
On 03/31/2015 11:55 AM, Ingo Molnar wrote: * Boris Ostrovsky 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

Re: [PATCH] x86: Factor out common CPU initialization code

2015-03-31 Thread Ingo Molnar
* Boris Ostrovsky 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

[PATCH] x86: Factor out common CPU initialization code

2015-03-31 Thread Boris Ostrovsky
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

[PATCH] x86: Factor out common CPU initialization code

2015-03-31 Thread Boris Ostrovsky
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

Re: [PATCH] x86: Factor out common CPU initialization code

2015-03-31 Thread Boris Ostrovsky
On 03/31/2015 11:55 AM, Ingo Molnar wrote: * Boris Ostrovsky boris.ostrov...@oracle.com 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

Re: [PATCH] x86: Factor out common CPU initialization code

2015-03-31 Thread Ingo Molnar
* Boris Ostrovsky boris.ostrov...@oracle.com 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