aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorStafford Horne <[email protected]>2023-08-21 04:31:18 +0000
committerStafford Horne <[email protected]>2023-08-21 07:15:25 +0000
commit136a2d894105843f19170614429bf12f1789e680 (patch)
tree08dc0ea1409c2f6faa1ec36109e6d99850aa4b83 /tools/perf/scripts/python
parentopenrisc: Add prototype for die to bug.h (diff)
downloadkernel-136a2d894105843f19170614429bf12f1789e680.tar.gz
kernel-136a2d894105843f19170614429bf12f1789e680.zip
openrisc: Include cpu.h and switch_to.h for prototypes
When compiling with W=1 enabling -Wmissing-prototypes the compiler warns: arch/openrisc/kernel/process.c:100:6: error: no previous prototype for 'arch_cpu_idle' [-Werror=missing-prototypes] arch/openrisc/kernel/process.c:240:21: error: no previous prototype for '__switch_to' [-Werror=missing-prototypes] Fix these by adding the approrpiate header files to process.c which brings in the prototype definitions. Reported-by: Arnd Bergmann <[email protected]> Closes: https://lore.kernel.org/linux-kernel/[email protected]/ Signed-off-by: Stafford Horne <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions