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 | |
| parent | powerpc/rtas_pci: rename and properly expose config access APIs (diff) | |
| download | linux-360f051d82ee0cc580edfffe9e8c0b93011ab86d.tar.gz linux-360f051d82ee0cc580edfffe9e8c0b93011ab86d.zip | |
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')
0 files changed, 0 insertions, 0 deletions
