linux-next: build failure after merge of the tip tree
Hi all,
After merging the tip tree, today's linux-next build (arm multi_v7_defconfig) failed like this:
kernel/tracepoint.c: In function 'tracepoint_remove_func':kernel/tracepoint.c:253:4: error: implicit declaration of function 'static_key_slow_dec_cpuslocked' [-Werror=implicit-function-declaration]
static_key_slow_dec_cpuslocked(&tp->key);
^Caused by commit
24db7a671bd5 ("trace/perf: Cure hotplug lock ordering issues")
static_key_slow_dec_cpuslocked() is only defined if HAVE_JUMP_LABEL is set - which is only defined if defined(CC_HAVE_ASM_GOTO) && defined(CONFIG_JUMP_LABEL). CONFIG_JUMP_LABEL is not set for this build.
I wasn't sure if just adding
#define static_key_slow_dec_cpuslocked static_key_slow_dec
in the !HAVE_JUMP_LABEL case in include/linux/jump_label.h would be sufficient, so I have reverted that commit for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 18 lines · Stephen Rothwell
Hi all,
After merging the tip tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:
kernel/tracepoint.c: In function 'tracepoint_remove_func':kernel/tracepoint.c:253:4: error: implicit declaration of function 'static_key_slow_dec_cpuslocked' [-Werror=implicit-function-declaration]static_key_slow_dec_cpuslocked(&tp->key); ^Caused by commit
24db7a671bd5("trace/perf: Cure hotplug lock ordering issues")
static_key_slow_dec_cpuslocked()is only defined ifHAVE_JUMP_LABELis set - which is only defined ifdefined(CC_HAVE_ASM_GOTO)&&defined(CONFIG_JUMP_LABEL).CONFIG_JUMP_LABELis not set for this build.
Quoted 6 lines
I wasn't sure if just adding
#define static_key_slow_dec_cpuslocked static_key_slow_decin the !HAVE_JUMP_LABEL case in
include/linux/jump_label.hwould be sufficient, so I have reverted that commit for today.
Both are fine, thanks Stephen! It's all fixed up in tip:auto-latest as well.
Thanks,
Ingo