diff options
Diffstat (limited to 'arch/x86/kernel/process_64.c')
-rw-r--r-- | arch/x86/kernel/process_64.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index 86c310acc98..f91521e2633 100644 --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c | |||
@@ -457,8 +457,7 @@ static inline void set_32bit_tls(struct task_struct *t, int tls, u32 addr) | |||
457 | }; | 457 | }; |
458 | struct desc_struct *desc = (void *)t->thread.tls_array; | 458 | struct desc_struct *desc = (void *)t->thread.tls_array; |
459 | desc += tls; | 459 | desc += tls; |
460 | desc->a = LDT_entry_a(&ud); | 460 | fill_ldt(desc, &ud); |
461 | desc->b = LDT_entry_b(&ud); | ||
462 | } | 461 | } |
463 | 462 | ||
464 | static inline u32 read_32bit_tls(struct task_struct *t, int tls) | 463 | static inline u32 read_32bit_tls(struct task_struct *t, int tls) |