summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/common.c
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2020-08-15 12:06:36 +0200
committerIngo Molnar <mingo@kernel.org>2020-08-15 13:52:11 +0200
commit0cabf9914990dc59a7e1793ef2fb294d578dc210 (patch)
tree64d6b2b835d018ceb4b1eedf059cb9f77d4bba43 /arch/x86/kernel/cpu/common.c
parentc9c9735c46f589b9877b7fc00c89ef1b61a31e18 (diff)
downloadlinux-0cabf9914990dc59a7e1793ef2fb294d578dc210.tar.gz
linux-0cabf9914990dc59a7e1793ef2fb294d578dc210.tar.bz2
linux-0cabf9914990dc59a7e1793ef2fb294d578dc210.zip
x86/paravirt: Remove 32-bit support from CONFIG_PARAVIRT_XXL
The last 32-bit user of stuff under CONFIG_PARAVIRT_XXL is gone. Remove 32-bit specific parts. Signed-off-by: Juergen Gross <jgross@suse.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20200815100641.26362-2-jgross@suse.com
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
-rw-r--r--arch/x86/kernel/cpu/common.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index c5d6f17d9b9d..8aa20bc2f1ca 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -1413,15 +1413,7 @@ static void generic_identify(struct cpuinfo_x86 *c)
* ESPFIX issue, we can change this.
*/
#ifdef CONFIG_X86_32
-# ifdef CONFIG_PARAVIRT_XXL
- do {
- extern void native_iret(void);
- if (pv_ops.cpu.iret == native_iret)
- set_cpu_bug(c, X86_BUG_ESPFIX);
- } while (0);
-# else
set_cpu_bug(c, X86_BUG_ESPFIX);
-# endif
#endif
}