diff options
Diffstat (limited to 'arch/x86/kernel/process_64.c')
-rw-r--r-- | arch/x86/kernel/process_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index 843bf0c978a4..86c310acc989 100644 --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c | |||
@@ -455,7 +455,7 @@ static inline void set_32bit_tls(struct task_struct *t, int tls, u32 addr) | |||
455 | .limit_in_pages = 1, | 455 | .limit_in_pages = 1, |
456 | .useable = 1, | 456 | .useable = 1, |
457 | }; | 457 | }; |
458 | struct n_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 | desc->a = LDT_entry_a(&ud); |
461 | desc->b = LDT_entry_b(&ud); | 461 | desc->b = LDT_entry_b(&ud); |