• 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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
    Tested-by: default avatarSedat Dilek <sedat.dilek@gmail.com>
    e9666d10
Name
Last commit
Last update
..
Makefile Loading commit data...
datagram.c Loading commit data...
dev.c Loading commit data...
dev_addr_lists.c Loading commit data...
dev_ioctl.c Loading commit data...
devlink.c Loading commit data...
drop_monitor.c Loading commit data...
dst.c Loading commit data...
dst_cache.c Loading commit data...
ethtool.c Loading commit data...
failover.c Loading commit data...
fib_notifier.c Loading commit data...
fib_rules.c Loading commit data...
filter.c Loading commit data...
flow_dissector.c Loading commit data...
gen_estimator.c Loading commit data...
gen_stats.c Loading commit data...
gro_cells.c Loading commit data...
hwbm.c Loading commit data...
link_watch.c Loading commit data...
lwt_bpf.c Loading commit data...
lwtunnel.c Loading commit data...
neighbour.c Loading commit data...
net-procfs.c Loading commit data...
net-sysfs.c Loading commit data...
net-sysfs.h Loading commit data...
net-traces.c Loading commit data...
net_namespace.c Loading commit data...
netclassid_cgroup.c Loading commit data...
netevent.c Loading commit data...
netpoll.c Loading commit data...
netprio_cgroup.c Loading commit data...
page_pool.c Loading commit data...
pktgen.c Loading commit data...
ptp_classifier.c Loading commit data...
request_sock.c Loading commit data...
rtnetlink.c Loading commit data...
scm.c Loading commit data...
secure_seq.c Loading commit data...
skbuff.c Loading commit data...
skmsg.c Loading commit data...
sock.c Loading commit data...
sock_diag.c Loading commit data...
sock_map.c Loading commit data...
sock_reuseport.c Loading commit data...
stream.c Loading commit data...
sysctl_net_core.c Loading commit data...
timestamping.c Loading commit data...
tso.c Loading commit data...
utils.c Loading commit data...
xdp.c Loading commit data...