Skip to content

Commit 0f3d41e

Browse files
committed
Merge tag 'csky-for-linus-5.16-rc5' of git://github.com/c-sky/csky-linux
Pull csky from Guo Ren: "Only one fix for csky: fix fpu config macro" * tag 'csky-for-linus-5.16-rc5' of git://github.com/c-sky/csky-linux: csky: fix typo of fpu config macro
2 parents a763d5a + a0793fd commit 0f3d41e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/csky/kernel/traps.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ asmlinkage void do_trap_illinsn(struct pt_regs *regs)
209209

210210
asmlinkage void do_trap_fpe(struct pt_regs *regs)
211211
{
212-
#ifdef CONFIG_CPU_HAS_FP
212+
#ifdef CONFIG_CPU_HAS_FPU
213213
return fpu_fpe(regs);
214214
#else
215215
do_trap_error(regs, SIGILL, ILL_ILLOPC, regs->pc,
@@ -219,7 +219,7 @@ asmlinkage void do_trap_fpe(struct pt_regs *regs)
219219

220220
asmlinkage void do_trap_priv(struct pt_regs *regs)
221221
{
222-
#ifdef CONFIG_CPU_HAS_FP
222+
#ifdef CONFIG_CPU_HAS_FPU
223223
if (user_mode(regs) && fpu_libc_helper(regs))
224224
return;
225225
#endif

0 commit comments

Comments
 (0)