Re: [Xen-devel] [PATCH v2] x86: Factor out common CPU initialization code

2015-04-01 Thread David Vrabel
On 01/04/15 15:12, 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:

[Xen-devel] [PATCH v2] x86: Factor out common CPU initialization code

2015-04-01 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 x