summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/entry-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/include/asm/entry-common.h')
-rw-r--r--arch/s390/include/asm/entry-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/asm/entry-common.h b/arch/s390/include/asm/entry-common.h
index a1dbab19c0bd..e479d39e1445 100644
--- a/arch/s390/include/asm/entry-common.h
+++ b/arch/s390/include/asm/entry-common.h
@@ -41,7 +41,7 @@ static __always_inline void arch_exit_to_user_mode_work(struct pt_regs *regs,
static __always_inline void arch_exit_to_user_mode(void)
{
- if (test_cpu_flag(CIF_FPU))
+ if (test_thread_flag(TIF_FPU))
__load_fpu_regs();
if (IS_ENABLED(CONFIG_DEBUG_ENTRY))