aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorLinus Torvalds <[email protected]>2024-07-29 23:34:17 +0000
committerLinus Torvalds <[email protected]>2024-07-29 23:34:17 +0000
commit94ede2a3e9135764736221c080ac7c0ad993dc2d (patch)
tree10ce1d5ebc4c113a1c951d67395e14f517a2c578 /scripts/gcc-plugins/randomize_layout_plugin.c
parentMerge tag 'for-linus-2024072901' of git://git.kernel.org/pub/scm/linux/kernel... (diff)
downloadkernel-94ede2a3e9135764736221c080ac7c0ad993dc2d.tar.gz
kernel-94ede2a3e9135764736221c080ac7c0ad993dc2d.zip
profiling: remove stale percpu flip buffer variables
For some reason I didn't see this issue on my arm64 or x86-64 builds, but Stephen Rothwell reports that commit 2accfdb7eff6 ("profiling: attempt to remove per-cpu profile flip buffer") left these static variables around, and the powerpc build is unhappy about them: kernel/profile.c:52:28: warning: 'cpu_profile_flip' defined but not used [-Wunused-variable] 52 | static DEFINE_PER_CPU(int, cpu_profile_flip); | ^~~~~~~~~~~~~~~~ .. So remove these stale left-over remnants too. Fixes: 2accfdb7eff6 ("profiling: attempt to remove per-cpu profile flip buffer") Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions