]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
x86/paravirt: Have only one paravirt patch function
authorJuergen Gross <jgross@suse.com>
Thu, 11 Mar 2021 14:23:19 +0000 (15:23 +0100)
committerBorislav Petkov <bp@suse.de>
Thu, 11 Mar 2021 19:11:09 +0000 (20:11 +0100)
commit054ac8ad5ebe4a69e1f0e842483821ddbe560121
treed815fdb8b63c33ddeaad9b7a778aed1b2888b2cf
parentfafe5e74229fd3f425e3cbfc68b90e615aa6d62f
x86/paravirt: Have only one paravirt patch function

There is no need any longer to have different paravirt patch functions
for native and Xen. Eliminate native_patch() and rename
paravirt_patch_default() to paravirt_patch().

Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20210311142319.4723-15-jgross@suse.com
arch/x86/include/asm/paravirt_types.h
arch/x86/kernel/Makefile
arch/x86/kernel/alternative.c
arch/x86/kernel/paravirt.c
arch/x86/kernel/paravirt_patch.c [deleted file]
arch/x86/xen/enlighten_pv.c