diff options
Diffstat (limited to 'arch/x86/kernel/machine_kexec_32.c')
-rw-r--r-- | arch/x86/kernel/machine_kexec_32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/machine_kexec_32.c b/arch/x86/kernel/machine_kexec_32.c index 11b935f4f886..c1cfd60639d4 100644 --- a/arch/x86/kernel/machine_kexec_32.c +++ b/arch/x86/kernel/machine_kexec_32.c | |||
@@ -32,7 +32,7 @@ static u32 kexec_pte1[1024] PAGE_ALIGNED; | |||
32 | 32 | ||
33 | static void set_idt(void *newidt, __u16 limit) | 33 | static void set_idt(void *newidt, __u16 limit) |
34 | { | 34 | { |
35 | struct Xgt_desc_struct curidt; | 35 | struct desc_ptr curidt; |
36 | 36 | ||
37 | /* ia32 supports unaliged loads & stores */ | 37 | /* ia32 supports unaliged loads & stores */ |
38 | curidt.size = limit; | 38 | curidt.size = limit; |
@@ -44,7 +44,7 @@ static void set_idt(void *newidt, __u16 limit) | |||
44 | 44 | ||
45 | static void set_gdt(void *newgdt, __u16 limit) | 45 | static void set_gdt(void *newgdt, __u16 limit) |
46 | { | 46 | { |
47 | struct Xgt_desc_struct curgdt; | 47 | struct desc_ptr curgdt; |
48 | 48 | ||
49 | /* ia32 supports unaligned loads & stores */ | 49 | /* ia32 supports unaligned loads & stores */ |
50 | curgdt.size = limit; | 50 | curgdt.size = limit; |