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
..
2008-12-04 09:17:15 -08:00
2017-06-01 09:42:46 -07:00
2016-08-07 23:55:43 -04:00
2018-01-22 08:17:15 -08:00
2018-01-22 08:17:15 -08:00
2018-12-28 14:12:21 -08:00
2018-05-09 06:54:27 +02:00
2018-10-31 08:54:16 -07:00
2018-06-12 16:19:22 -07:00
2015-03-19 18:54:49 -07:00
2013-06-13 22:12:14 +01:00
2018-12-30 08:24:21 +00:00
2017-11-15 14:21:03 +09:00
2018-10-07 22:42:00 -07:00