diff options
Diffstat (limited to 'arch/x86/kernel/ldt.c')
-rw-r--r-- | arch/x86/kernel/ldt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/ldt.c b/arch/x86/kernel/ldt.c index 3e872b468533..b8ef46270e24 100644 --- a/arch/x86/kernel/ldt.c +++ b/arch/x86/kernel/ldt.c | |||
@@ -229,8 +229,7 @@ static int write_ldt(void __user *ptr, unsigned long bytecount, int oldmode) | |||
229 | 229 | ||
230 | /* Install the new entry ... */ | 230 | /* Install the new entry ... */ |
231 | install: | 231 | install: |
232 | write_ldt_entry(mm->context.ldt, ldt_info.entry_number, | 232 | write_ldt_entry(mm->context.ldt, ldt_info.entry_number, &ldt); |
233 | ldt.a, ldt.b); | ||
234 | error = 0; | 233 | error = 0; |
235 | 234 | ||
236 | out_unlock: | 235 | out_unlock: |