diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2008-01-30 07:33:23 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:23 -0500 |
commit | ade1af77129dea6e335b525ed3be3b846bc1ec13 (patch) | |
tree | 0fee8803a8145ef9935212c31df59bb339a78811 /arch/x86/kernel/process_64.c | |
parent | d729ab35ee1367b7690458ae9e050571cb055bd3 (diff) |
x86: remove unneded casts
x86: remove unneeded casts
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
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 95313532b2e0..b4c470658a8a 100644 --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c | |||
@@ -470,7 +470,7 @@ static inline void set_32bit_tls(struct task_struct *t, int tls, u32 addr) | |||
470 | .limit_in_pages = 1, | 470 | .limit_in_pages = 1, |
471 | .useable = 1, | 471 | .useable = 1, |
472 | }; | 472 | }; |
473 | struct desc_struct *desc = (void *)t->thread.tls_array; | 473 | struct desc_struct *desc = t->thread.tls_array; |
474 | desc += tls; | 474 | desc += tls; |
475 | fill_ldt(desc, &ud); | 475 | fill_ldt(desc, &ud); |
476 | } | 476 | } |