diff options
Diffstat (limited to 'arch/x86/kernel/process.h')
| -rw-r--r-- | arch/x86/kernel/process.h | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/process.h b/arch/x86/kernel/process.h index 1d0797b2338a..76b547b83232 100644 --- a/arch/x86/kernel/process.h +++ b/arch/x86/kernel/process.h @@ -13,8 +13,8 @@ void __switch_to_xtra(struct task_struct *prev_p, struct task_struct *next_p);  static inline void switch_to_extra(struct task_struct *prev,  				   struct task_struct *next)  { -	unsigned long next_tif = task_thread_info(next)->flags; -	unsigned long prev_tif = task_thread_info(prev)->flags; +	unsigned long next_tif = read_task_thread_flags(next); +	unsigned long prev_tif = read_task_thread_flags(prev);  	if (IS_ENABLED(CONFIG_SMP)) {  		/*  |