aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorPuranjay Mohan <[email protected]>2024-05-03 17:18:46 +0000
committerCatalin Marinas <[email protected]>2024-06-12 15:44:19 +0100
commit7647e2b109f4d508fcb35bb8089a27c4fdd81f61 (patch)
tree4f7c4222eda576262683ae4bbaefecbb14e337bf /lib/test_fortify/write_overflow-strncpy-src.c
parent83a7eefedc9b56fe7bfeff13b6c7356688ffa670 (diff)
arm64/arch_timer: include <linux/percpu.h>
arch_timer.h includes linux/smp.h since the commit: 6acc71ccac7187fc ("arm64: arch_timer: Allows a CPU-specific erratum to only affect a subset of CPUs") It was included to use DEFINE_PER_CPU(), etc. But It should have included <linux/percpu.h> rather than <linux/smp.h>. It worked because smp.h includes percpu.h. The next commit will remove percpu.h from smp.h and it will break this usage. Explicitly include percpu.h and remove smp.h Signed-off-by: Puranjay Mohan <[email protected]> Acked-by: Mark Rutland <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Reviewed-by: Anshuman Khandual <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions