mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-01 23:53:16 -04:00
x86/paravirt: Use CONFIG_PARAVIRT_XXL instead of CONFIG_PARAVIRT
There are some code parts using CONFIG_PARAVIRT for Xen pvops related issues instead of the more stringent CONFIG_PARAVIRT_XXL. Signed-off-by: Juergen Gross <jgross@suse.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20200815100641.26362-4-jgross@suse.com
This commit is contained in:
parent
94b827becc
commit
ecac71816a
3 changed files with 4 additions and 4 deletions
|
@ -46,13 +46,13 @@
|
||||||
.code64
|
.code64
|
||||||
.section .entry.text, "ax"
|
.section .entry.text, "ax"
|
||||||
|
|
||||||
#ifdef CONFIG_PARAVIRT
|
#ifdef CONFIG_PARAVIRT_XXL
|
||||||
SYM_CODE_START(native_usergs_sysret64)
|
SYM_CODE_START(native_usergs_sysret64)
|
||||||
UNWIND_HINT_EMPTY
|
UNWIND_HINT_EMPTY
|
||||||
swapgs
|
swapgs
|
||||||
sysretq
|
sysretq
|
||||||
SYM_CODE_END(native_usergs_sysret64)
|
SYM_CODE_END(native_usergs_sysret64)
|
||||||
#endif /* CONFIG_PARAVIRT */
|
#endif /* CONFIG_PARAVIRT_XXL */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 64-bit SYSCALL instruction entry. Up to 6 arguments in registers.
|
* 64-bit SYSCALL instruction entry. Up to 6 arguments in registers.
|
||||||
|
|
|
@ -99,7 +99,7 @@ enum fixed_addresses {
|
||||||
FIX_PCIE_MCFG,
|
FIX_PCIE_MCFG,
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_PARAVIRT
|
#ifdef CONFIG_PARAVIRT_XXL
|
||||||
FIX_PARAVIRT_BOOTMAP,
|
FIX_PARAVIRT_BOOTMAP,
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_X86_INTEL_MID
|
#ifdef CONFIG_X86_INTEL_MID
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_X86_64
|
#ifdef CONFIG_X86_64
|
||||||
#ifdef CONFIG_PARAVIRT
|
#ifdef CONFIG_PARAVIRT_XXL
|
||||||
/* Paravirtualized systems may not have PSE or PGE available */
|
/* Paravirtualized systems may not have PSE or PGE available */
|
||||||
#define NEED_PSE 0
|
#define NEED_PSE 0
|
||||||
#define NEED_PGE 0
|
#define NEED_PGE 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue