diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2023-11-30 00:19:15 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-11-30 13:15:49 +1100 |
commit | 360f051d82ee0cc580edfffe9e8c0b93011ab86d (patch) | |
tree | 9d4f798b96f4407540857bc5a2b2e4ab7f36e031 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9be4feb768b86c25da336a6c0f3e3caefd16f1e4 (diff) |
powerpc/suspend: Add prototype for do_after_copyback()
With HIBERNATION=y the build breaks with:
arch/powerpc/kernel/swsusp_64.c:14:6: error: no previous prototype for ‘do_after_copyback’ [-Werror=missing-prototypes]
14 | void do_after_copyback(void)
| ^~~~~~~~~~~~~~~~~
do_after_copyback() is only called from asm, so there is no prototype,
nor any header where it makes sense to place one. Just add a prototype
in the C file to fix the build error.
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231129131919.2528517-1-mpe@ellerman.id.au
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions