diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-01-30 07:31:13 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:31:13 -0500 |
commit | 75b8bb3e56ca09a467fbbe5229bc68627f7445be (patch) | |
tree | b0eba1d65eb2022fbda902c99edd066b1b3f34da /arch/x86/xen | |
parent | 014b15be30c04622d130946ab7c0a9101b523a8a (diff) |
x86: change write_ldt_entry signature
this patch changes the signature of write_ldt_entry.
Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
CC: Zachary Amsden <zach@vmware.com>
CC: Jeremy Fitzhardinge <Jeremy.Fitzhardinge.citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/xen')
-rw-r--r-- | arch/x86/xen/enlighten.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 7f98c63f6381..72dd14d0685c 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -357,11 +357,11 @@ static void xen_load_tls(struct thread_struct *t, unsigned int cpu) | |||
357 | } | 357 | } |
358 | 358 | ||
359 | static void xen_write_ldt_entry(struct desc_struct *dt, int entrynum, | 359 | static void xen_write_ldt_entry(struct desc_struct *dt, int entrynum, |
360 | u32 low, u32 high) | 360 | const void *ptr) |
361 | { | 361 | { |
362 | unsigned long lp = (unsigned long)&dt[entrynum]; | 362 | unsigned long lp = (unsigned long)&dt[entrynum]; |
363 | xmaddr_t mach_lp = virt_to_machine(lp); | 363 | xmaddr_t mach_lp = virt_to_machine(lp); |
364 | u64 entry = (u64)high << 32 | low; | 364 | u64 entry = *(u64 *)ptr; |
365 | 365 | ||
366 | preempt_disable(); | 366 | preempt_disable(); |
367 | 367 | ||