]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/paravirt: Move pv_native_*() prototypes to paravirt.c
authorJuergen Gross <jgross@suse.com>
Mon, 5 Jan 2026 11:05:13 +0000 (12:05 +0100)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 12 Jan 2026 18:14:06 +0000 (19:14 +0100)
commit574b3eb843dea1ad99162e115abdb610b6780cbd
tree31d7b8069197a026eef1e53bc5db3c8cd781994f
parentf01b4f4a60191fa2a78931e2a3986983ec4f5334
x86/paravirt: Move pv_native_*() prototypes to paravirt.c

The only reason the pv_native_*() prototypes are needed is the complete
definition of those functions via an asm() statement, which makes it
impossible to have those functions as static ones.

Move the prototypes from paravirt_types.h into paravirt.c, which is the
only source referencing the functions.

Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/20260105110520.21356-15-jgross@suse.com
arch/x86/include/asm/paravirt_types.h
arch/x86/kernel/paravirt.c