diff options
author | Juergen Gross <jgross@suse.com> | 2021-03-11 15:23:19 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-03-11 20:11:09 +0100 |
commit | 054ac8ad5ebe4a69e1f0e842483821ddbe560121 (patch) | |
tree | d815fdb8b63c33ddeaad9b7a778aed1b2888b2cf /arch/x86/xen | |
parent | fafe5e74229fd3f425e3cbfc68b90e615aa6d62f (diff) | |
download | linux-next-054ac8ad5ebe4a69e1f0e842483821ddbe560121.tar.gz |
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
Diffstat (limited to 'arch/x86/xen')
-rw-r--r-- | arch/x86/xen/enlighten_pv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/xen/enlighten_pv.c b/arch/x86/xen/enlighten_pv.c index 08dca7bebb30..4f18cd9eacd8 100644 --- a/arch/x86/xen/enlighten_pv.c +++ b/arch/x86/xen/enlighten_pv.c @@ -1231,7 +1231,6 @@ asmlinkage __visible void __init xen_start_kernel(void) /* Install Xen paravirt ops */ pv_info = xen_info; - pv_ops.init.patch = paravirt_patch_default; pv_ops.cpu = xen_cpu_ops; paravirt_iret = xen_iret; xen_init_irq_ops(); |