From: Glauber de Oliveira Costa Date: Wed, 30 Jan 2008 12:31:13 +0000 (+0100) Subject: x86: introduce ldt_desc type. X-Git-Tag: v2.6.25-rc1~1143^2~605 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25deca53e9b74a899efd3ae1f4493f4f2ce36846;p=pandora-kernel.git x86: introduce ldt_desc type. this patch introduces ldt_desc type to account for the differences in the ldt descriptor in x86_64 and i386 Signed-off-by: Glauber de Oliveira Costa Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/include/asm-x86/desc_64.h b/include/asm-x86/desc_64.h index 887393f044b1..c49f928ed8b6 100644 --- a/include/asm-x86/desc_64.h +++ b/include/asm-x86/desc_64.h @@ -113,7 +113,7 @@ static inline void store_idt(struct desc_ptr *dtr) static inline void set_tssldt_descriptor(void *ptr, unsigned long tss, unsigned type, unsigned size) { - struct ldttss_desc d; + struct ldttss_desc64 d; memset(&d, 0, sizeof(d)); d.limit0 = size & 0xFFFF; Reading git-diff-tree failed