aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/ldt.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/ldt.c')
-rw-r--r--arch/x86/kernel/ldt.c3
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 ... */
231install: 231install:
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
236out_unlock: 235out_unlock: