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
..
2018-12-27 10:43:24 -08:00
2018-10-26 14:36:21 -07:00
2018-07-30 22:47:53 +10:00
2018-12-28 14:12:21 -08:00
2018-12-20 22:21:20 +11:00
2019-01-01 15:55:29 -08:00
2018-12-27 10:43:24 -08:00
2018-08-13 15:59:06 +10:00
2019-01-01 15:55:29 -08:00
2017-12-11 13:03:35 +11:00
2018-08-17 11:32:50 -07:00
2018-06-07 10:23:33 -07:00
2018-10-09 16:51:05 +11:00
2015-04-07 17:15:13 +10:00
2018-05-25 12:04:46 +10:00