diff options
author | Juergen Gross <jgross@suse.com> | 2023-06-14 09:35:00 +0200 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2023-06-26 07:47:11 +0200 |
commit | 3d013424de1efc2c9e68c6c06e76159e467c7ba8 (patch) | |
tree | 476c74f634383182f2c39f6453449261a38ad5c6 /include/xen/xen.h | |
parent | iscsi_ibft: Fix finding the iBFT under Xen Dom 0 (diff) | |
download | linux-3d013424de1efc2c9e68c6c06e76159e467c7ba8.tar.xz linux-3d013424de1efc2c9e68c6c06e76159e467c7ba8.zip |
x86/xen: add prototypes for paravirt mmu functions
The paravirt MMU functions called via the PV_CALLEE_SAVE_REGS_THUNK()
macro can't be defined to be static, as the macro is generating a
function via asm() statement calling the paravirt MMU function.
In order to avoid warnings when specifying "-Wmissing-prototypes" for
the build, add local prototypes (there should never be any external
caller of those functions).
Reported-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Link: https://lore.kernel.org/r/20230614073501.10101-2-jgross@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions