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>
This commit is contained in:
committed by
Ingo Molnar
parent
d729ab35ee
commit
ade1af7712
@@ -470,7 +470,7 @@ static inline void set_32bit_tls(struct task_struct *t, int tls, u32 addr)
|
||||
.limit_in_pages = 1,
|
||||
.useable = 1,
|
||||
};
|
||||
struct desc_struct *desc = (void *)t->thread.tls_array;
|
||||
struct desc_struct *desc = t->thread.tls_array;
|
||||
desc += tls;
|
||||
fill_ldt(desc, &ud);
|
||||
}
|
||||
|
Reference in New Issue
Block a user