• Masahiro Yamada's avatar
    jump_label: move 'asm goto' support test to Kconfig · e9666d10
    Masahiro Yamada authored
    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: 's avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
    Tested-by: 's avatarSedat Dilek <sedat.dilek@gmail.com>
    e9666d10
Name
Last commit
Last update
..
Makefile Loading commit data...
autogroup.c Loading commit data...
autogroup.h Loading commit data...
clock.c Loading commit data...
completion.c Loading commit data...
core.c Loading commit data...
cpuacct.c Loading commit data...
cpudeadline.c Loading commit data...
cpudeadline.h Loading commit data...
cpufreq.c Loading commit data...
cpufreq_schedutil.c Loading commit data...
cpupri.c Loading commit data...
cpupri.h Loading commit data...
cputime.c Loading commit data...
deadline.c Loading commit data...
debug.c Loading commit data...
fair.c Loading commit data...
features.h Loading commit data...
idle.c Loading commit data...
isolation.c Loading commit data...
loadavg.c Loading commit data...
membarrier.c Loading commit data...
pelt.c Loading commit data...
pelt.h Loading commit data...
psi.c Loading commit data...
rt.c Loading commit data...
sched-pelt.h Loading commit data...
sched.h Loading commit data...
stats.c Loading commit data...
stats.h Loading commit data...
stop_task.c Loading commit data...
swait.c Loading commit data...
topology.c Loading commit data...
wait.c Loading commit data...
wait_bit.c Loading commit data...