x86/paravirt: Move some functions and defines to alternative.c
authorJuergen Gross <jgross@suse.com>
Wed, 29 Nov 2023 13:33:29 +0000 (14:33 +0100)
committerBorislav Petkov (AMD) <bp@alien8.de>
Sun, 10 Dec 2023 19:30:31 +0000 (20:30 +0100)
commit9824b00c2b58f9e1072ef3ece571a2cfc71089d4
treea4bc9c4efb42ef53c3893735156f491c20feda4d
parent772ca413537eca9010e93922699537f56db9c8c4
x86/paravirt: Move some functions and defines to alternative.c

As a preparation for replacing paravirt patching completely by
alternative patching, move some backend functions and #defines to
the alternatives code and header.

Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20231129133332.31043-3-jgross@suse.com
arch/x86/include/asm/alternative.h
arch/x86/include/asm/paravirt.h
arch/x86/include/asm/paravirt_types.h
arch/x86/include/asm/qspinlock_paravirt.h
arch/x86/kernel/alternative.c
arch/x86/kernel/kvm.c
arch/x86/kernel/paravirt.c
arch/x86/xen/irq.c