Skip to content

Commit 9eb425b

Browse files
chleroympe
authored andcommitted
powerpc/entry: Fix an #if which should be an #ifdef in entry_32.S
Fixes: 12c3f1f ("powerpc/32s: get rid of CPU_FTR_601 feature") Cc: [email protected] # v5.4+ Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/a99fc0ad65b87a1ba51cfa3e0e9034ee294c3e07.1582034961.git.christophe.leroy@c-s.fr
1 parent 066bc35 commit 9eb425b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/powerpc/kernel/entry_32.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -783,15 +783,15 @@ fast_exception_return:
783783
1: lis r3,exc_exit_restart_end@ha
784784
addi r3,r3,exc_exit_restart_end@l
785785
cmplw r12,r3
786-
#if CONFIG_PPC_BOOK3S_601
786+
#ifdef CONFIG_PPC_BOOK3S_601
787787
bge 2b
788788
#else
789789
bge 3f
790790
#endif
791791
lis r4,exc_exit_restart@ha
792792
addi r4,r4,exc_exit_restart@l
793793
cmplw r12,r4
794-
#if CONFIG_PPC_BOOK3S_601
794+
#ifdef CONFIG_PPC_BOOK3S_601
795795
blt 2b
796796
#else
797797
blt 3f

0 commit comments

Comments
 (0)