aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/srat_64.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2008-01-30 13:33:14 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:33:14 +0100
commit4dbf7af6442a9a882855bed0d999659ac413e3ac (patch)
tree333c2fa09ac2740ef8c260053a0c1e6340361d52 /arch/x86/mm/srat_64.c
parentx86-64: clean up linker script (diff)
downloadlinux-dev-4dbf7af6442a9a882855bed0d999659ac413e3ac.tar.xz
linux-dev-4dbf7af6442a9a882855bed0d999659ac413e3ac.zip
x86: adjust/fix LDT handling for Xen
Based on patch from Jan Beulich <jbeulich@novell.com>. Don't rely on kmalloc(PAGE_SIZE) returning PAGE_SIZE aligned memory (Xen requires GDT *and* LDT to be page-aligned). Using the page allocator interface also removes the (albeit small) slab allocator overhead. The same change being done for 64-bits for consistency. Further, the Xen hypercall interface expects the LDT address to be virtual, not machine. [ Adjusted to unified ldt.c - Jeremy ] Signed-off-by: Jan Beulich <jbeulich@novell.com> Acked-by: Jeremy Fitzhardinge <jeremy@xensource.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/mm/srat_64.c')
0 files changed, 0 insertions, 0 deletions