original_kernel/arch/xtensa/kernel
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
..
syscalls xtensa: add system call table generation support 2018-12-02 23:45:22 -08:00
.gitignore
Makefile xtensa: implement jump_label support 2018-12-20 14:44:38 -08:00
align.S
asm-offsets.c xtensa: drop unused field from the struct exc_table 2018-12-03 01:39:22 -08:00
coprocessor.S xtensa: simplify coprocessor.S 2018-12-04 14:08:23 -08:00
entry.S xtensa: call do_syscall_trace_{enter,leave} selectively 2018-12-17 13:48:21 -08:00
head.S xtensa: don't use l32r opcode directly 2018-12-05 12:53:07 -08:00
hw_breakpoint.c xtensa: clean up WSR*/RSR*/get_sr/set_sr 2018-12-04 14:08:11 -08:00
irq.c xtensa: drop variant IRQ support 2018-08-20 12:28:05 -07:00
jump_label.c jump_label: move 'asm goto' support test to Kconfig 2019-01-06 09:46:51 +09:00
mcount.S
module.c
mxhead.S
pci-dma.c dma-mapping: zero memory returned from dma_alloc_* 2018-12-20 08:13:52 +01:00
pci.c mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
perf_event.c
platform.c
process.c xtensa: enable CORE_DUMP_USE_REGSET 2018-12-17 13:48:22 -08:00
ptrace.c xtensa: implement syscall tracepoints 2018-12-17 13:50:25 -08:00
s32c1i_selftest.c
setup.c xtensa: clean up WSR*/RSR*/get_sr/set_sr 2018-12-04 14:08:11 -08:00
signal.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
smp.c
stacktrace.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
syscall.c xtensa: implement syscall tracepoints 2018-12-17 13:50:25 -08:00
time.c
traps.c xtensa: clean up WSR*/RSR*/get_sr/set_sr 2018-12-04 14:08:11 -08:00
vectors.S
vmlinux.lds.S Xtensa fixes and cleanups for v4.20: 2018-11-01 14:32:43 -07:00
xtensa_ksyms.c