]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/32: Avoid #ifdef nested with FTR_SECTION on booke syscall entry
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 4 Jun 2021 14:54:15 +0000 (14:54 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 Jun 2021 14:07:11 +0000 (00:07 +1000)
commit9979f5767373f8d070710e98585d5abdf3b7bfdf
tree8156d76de4bca0361d2e58000d031d6b03f0adba
parent5ac9f88d07d6f64175cdee01f6e25755a3945c6c
powerpc/32: Avoid #ifdef nested with FTR_SECTION on booke syscall entry

On booke, SYSCALL_ENTRY macro nests an FTR_SECTION with a #ifdef
CONFIG_KVM_BOOKE_HV.

Duplicate the single instruction alternative to avoid nesting.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/33db61d5f85146262dbe26648f8f87eca3cae393.1622818435.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/head_booke.h