diff options
author | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2015-04-01 17:12:14 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-04-02 13:06:41 +0300 |
commit | 3f85483bd80ef1de8cbbf0361be59f6a069b59d4 (patch) | |
tree | 9cc52f70fcd1181a562735f44c222cca3276ffc1 /fs/hugetlbfs | |
parent | 40e4f2d177f748a83e7639554ea7d11568a9fa1f (diff) | |
download | linux-3f85483bd80ef1de8cbbf0361be59f6a069b59d4.tar.xz |
x86/cpu: Factor out common CPU initialization code, fix 32-bit Xen PV guests
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@oracle.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: konrad.wilk@oracle.com
Cc: xen-devel@lists.xenproject.org
Link: http://lkml.kernel.org/r/1427897534-5086-1-git-send-email-boris.ostrovsky@oracle.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/hugetlbfs')
0 files changed, 0 insertions, 0 deletions