linux/arch/powerpc/platforms
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
..
4xx powerpc/4xx/ocm: Fix phys_addr_t printf warnings 2018-12-30 14:00:47 +11:00
8xx powerpc updates for 4.20 2018-10-26 14:36:21 -07:00
40x PCI: consolidate PCI config entry in drivers/pci 2018-11-23 11:45:34 +09:00
44x Kconfig file consolidation for v4.21 2018-12-29 13:40:29 -08:00
52xx Kconfig file consolidation for v4.21 2018-12-29 13:40:29 -08:00
82xx powerpc/kconfig: remove CONFIG_6xx 2018-11-26 22:33:37 +11:00
83xx Kconfig file consolidation for v4.21 2018-12-29 13:40:29 -08:00
85xx Kconfig file consolidation for v4.21 2018-12-29 13:40:29 -08:00
86xx Kconfig file consolidation for v4.21 2018-12-29 13:40:29 -08:00
512x Kconfig file consolidation for v4.21 2018-12-29 13:40:29 -08:00
amigaone Kconfig file consolidation for v4.21 2018-12-29 13:40:29 -08:00
cell Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
chrp Kconfig file consolidation for v4.21 2018-12-29 13:40:29 -08:00
embedded6xx Kconfig file consolidation for v4.21 2018-12-29 13:40:29 -08:00
maple Kconfig file consolidation for v4.21 2018-12-29 13:40:29 -08:00
pasemi Kconfig file consolidation for v4.21 2018-12-29 13:40:29 -08:00
powermac Kconfig file consolidation for v4.21 2018-12-29 13:40:29 -08:00
powernv jump_label: move 'asm goto' support test to Kconfig 2019-01-06 09:46:51 +09:00
ps3 PCI: consolidate PCI config entry in drivers/pci 2018-11-23 11:45:34 +09:00
pseries jump_label: move 'asm goto' support test to Kconfig 2019-01-06 09:46:51 +09:00
fsl_uli1575.c of/irq: Refactor interrupt-map parsing 2013-10-24 11:43:04 +01:00
Kconfig Kconfig file consolidation for v4.21 2018-12-29 13:40:29 -08:00
Kconfig.cputype Kconfig file consolidation for v4.21 2018-12-29 13:40:29 -08:00
Makefile powerpc: Add -Werror at arch/powerpc level 2018-10-19 00:56:17 +11:00