aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMathieu Malaterre <[email protected]>2018-12-08 16:46:23 +0100
committerMichael Ellerman <[email protected]>2019-10-30 22:31:40 +1100
commit5c74f79958682fccd82a6029c53859d1dab3b239 (patch)
treef0f271ec8182a983adab163557c358fd9fdc4b67 /tools/perf/scripts/python
parentc790c3d2b0ec5979d83451d0688d1cd07e23d8ba (diff)
powerpc/ptrace: Add prototype for function pt_regs_check
`pt_regs_check` is a dummy function, its purpose is to break the build if struct pt_regs and struct user_pt_regs don't match. This function has no functionnal purpose, and will get eliminated at link time or after init depending on CONFIG_LD_DEAD_CODE_DATA_ELIMINATION This commit adds a prototype to fix warning at W=1: arch/powerpc/kernel/ptrace.c:3339:13: error: no previous prototype for ‘pt_regs_check’ [-Werror=missing-prototypes] Suggested-by: Christophe Leroy <[email protected]> Signed-off-by: Mathieu Malaterre <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions