linux/arch
Masahiro Yamada e9666d10a5 jump_label: move 'asm goto' support test to Kconfig
Currently, CONFIG_JUMP_LABEL just means "I _want_ to use jump label".

The jump label is controlled by HAVE_JUMP_LABEL, which is defined
like this:

  #if defined(CC_HAVE_ASM_GOTO) && defined(CONFIG_JUMP_LABEL)
  # define HAVE_JUMP_LABEL
  #endif

We can improve this by testing 'asm goto' support in Kconfig, then
make JUMP_LABEL depend on CC_HAS_ASM_GOTO.

Ugly #ifdef HAVE_JUMP_LABEL will go away, and CONFIG_JUMP_LABEL will
match to the real kernel capability.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
2019-01-06 09:46:51 +09:00
..
alpha Merge branch 'akpm' (patches from Andrew) 2019-01-05 09:16:18 -08:00
arc Merge branch 'mount.part1' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2019-01-05 13:25:58 -08:00
arm jump_label: move 'asm goto' support test to Kconfig 2019-01-06 09:46:51 +09:00
arm64 jump_label: move 'asm goto' support test to Kconfig 2019-01-06 09:46:51 +09:00
c6x Merge branch 'akpm' (patches from Andrew) 2019-01-05 09:16:18 -08:00
csky arch/csky patches for 4.21-rc1 2019-01-05 09:50:07 -08:00
h8300 h8300 build problem fix. 2019-01-05 11:35:55 -08:00
hexagon Merge branch 'akpm' (patches from Andrew) 2019-01-05 09:16:18 -08:00
ia64 Merge branch 'akpm' (patches from Andrew) 2019-01-05 09:16:18 -08:00
m68k Merge branch 'akpm' (patches from Andrew) 2019-01-05 09:16:18 -08:00
microblaze Merge branch 'akpm' (patches from Andrew) 2019-01-05 09:16:18 -08:00
mips jump_label: move 'asm goto' support test to Kconfig 2019-01-06 09:46:51 +09:00
nds32 nds32: remove redundant kernel-space generic-y 2019-01-06 09:46:51 +09:00
nios2 nios2: remove unneeded HAS_DMA define 2019-01-06 09:46:51 +09:00
openrisc Merge branch 'akpm' (patches from Andrew) 2019-01-05 09:16:18 -08:00
parisc Merge branch 'parisc-4.21-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux 2019-01-05 11:44:20 -08:00
powerpc jump_label: move 'asm goto' support test to Kconfig 2019-01-06 09:46:51 +09:00
riscv Merge branch 'akpm' (patches from Andrew) 2019-01-05 09:16:18 -08:00
s390 jump_label: move 'asm goto' support test to Kconfig 2019-01-06 09:46:51 +09:00
sh It appears that the zero-day bot did find a bug in my sh build. 2019-01-05 14:08:00 -08:00
sparc jump_label: move 'asm goto' support test to Kconfig 2019-01-06 09:46:51 +09:00
um Merge branch 'akpm' (patches from Andrew) 2019-01-05 09:16:18 -08:00
unicore32 Merge branch 'akpm' (patches from Andrew) 2019-01-05 09:16:18 -08:00
x86 jump_label: move 'asm goto' support test to Kconfig 2019-01-06 09:46:51 +09:00
xtensa jump_label: move 'asm goto' support test to Kconfig 2019-01-06 09:46:51 +09:00
.gitignore
Kconfig jump_label: move 'asm goto' support test to Kconfig 2019-01-06 09:46:51 +09:00