Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
}
}
-
void free_thread_info(struct thread_info *ti)
{
free_thread_xstate(ti->task);
- free_pages((unsigned long)(ti), get_order(THREAD_SIZE));
+ free_pages((unsigned long)ti, get_order(THREAD_SIZE));
}
void arch_task_cache_init(void)
if (cpu_has_fxsr) {
return tsk->thread.xstate->fxsave.cwd;
} else {
- return (unsigned short) tsk->thread.xstate->fsave.cwd;
+ return (unsigned short)tsk->thread.xstate->fsave.cwd;
}
}
if (cpu_has_fxsr) {
return tsk->thread.xstate->fxsave.swd;
} else {
- return (unsigned short) tsk->thread.xstate->fsave.swd;
+ return (unsigned short)tsk->thread.xstate->fsave.swd;
}
}