]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
perf: Fix __percpu annotation
authorPeter Zijlstra <peterz@infradead.org>
Mon, 17 Mar 2025 10:39:35 +0000 (11:39 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 17 Mar 2025 10:42:57 +0000 (11:42 +0100)
commit12e766d16814808b6a581597cef6ce9fc029e917
tree8796589271cf3a0aa88d16b5179f70952733ac69
parentbd2da08d9363d191551d79e5b04121348e18af5a
perf: Fix __percpu annotation

With bcecd5a529c1 ("percpu: repurpose __percpu tag as a named address
space qualifier") the normal compilers start caring about the __percpu
annotation, as such f67d1ffd841f ("perf/core: Detach 'struct
perf_cpu_pmu_context' and 'struct pmu' lifetimes") needs a fixup.

Fixes: f67d1ffd841f ("perf/core: Detach 'struct perf_cpu_pmu_context' and 'struct pmu' lifetimes")
Fixes: bcecd5a529c1 ("percpu: repurpose __percpu tag as a named address space qualifier")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reported-by: jirislaby@kernel.org
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
include/linux/perf_event.h