Revert "arm64: jump_label: use constraints "Si" instead of "i""
authorWill Deacon <will@kernel.org>
Tue, 20 Feb 2024 12:05:47 +0000 (12:05 +0000)
committerWill Deacon <will@kernel.org>
Tue, 20 Feb 2024 12:12:44 +0000 (12:12 +0000)
commita6b3eb304a82c29665a0ab947cfe276f6d29f523
tree639108b55e1a665dd4840a7da3d75e57e3013d96
parent802379b8f9e169293e9ba7089e5f1a6340e2e7a3
Revert "arm64: jump_label: use constraints "Si" instead of "i""

This reverts commit f9daab0ad01cf9d165dbbbf106ca4e61d06e7fe8.

Geert reports that his particular GCC 5.5 vintage toolchain fails to
build an arm64 defconfig because of this change:

 |    arch/arm64/include/asm/jump_label.h:25:2: error: invalid 'asm':
 | invalid operand
 |     asm goto(
      ^
Aopparently, this is something we claim to support, so let's revert back
to the old jump label constraint for now while discussions about raising
the minimum GCC version are ongoing.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/CAMuHMdX+6fnAf8Hm6EqYJPAjrrLO9T7c=Gu3S8V_pqjSDowJ6g@mail.gmail.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/jump_label.h