|
@@ -301,10 +301,6 @@
|
|
#define X86_BUG_FXSAVE_LEAK X86_BUG(6) /* FXSAVE leaks FOP/FIP/FOP */
|
|
#define X86_BUG_FXSAVE_LEAK X86_BUG(6) /* FXSAVE leaks FOP/FIP/FOP */
|
|
#define X86_BUG_CLFLUSH_MONITOR X86_BUG(7) /* AAI65, CLFLUSH required before MONITOR */
|
|
#define X86_BUG_CLFLUSH_MONITOR X86_BUG(7) /* AAI65, CLFLUSH required before MONITOR */
|
|
#define X86_BUG_SYSRET_SS_ATTRS X86_BUG(8) /* SYSRET doesn't fix up SS attrs */
|
|
#define X86_BUG_SYSRET_SS_ATTRS X86_BUG(8) /* SYSRET doesn't fix up SS attrs */
|
|
-#define X86_BUG_NULL_SEG X86_BUG(9) /* Nulling a selector preserves the base */
|
|
|
|
-#define X86_BUG_SWAPGS_FENCE X86_BUG(10) /* SWAPGS without input dep on GS */
|
|
|
|
-
|
|
|
|
-
|
|
|
|
#ifdef CONFIG_X86_32
|
|
#ifdef CONFIG_X86_32
|
|
/*
|
|
/*
|
|
* 64-bit kernels don't use X86_BUG_ESPFIX. Make the define conditional
|
|
* 64-bit kernels don't use X86_BUG_ESPFIX. Make the define conditional
|
|
@@ -312,5 +308,7 @@
|
|
*/
|
|
*/
|
|
#define X86_BUG_ESPFIX X86_BUG(9) /* "" IRET to 16-bit SS corrupts ESP/RSP high bits */
|
|
#define X86_BUG_ESPFIX X86_BUG(9) /* "" IRET to 16-bit SS corrupts ESP/RSP high bits */
|
|
#endif
|
|
#endif
|
|
|
|
+#define X86_BUG_NULL_SEG X86_BUG(10) /* Nulling a selector preserves the base */
|
|
|
|
+#define X86_BUG_SWAPGS_FENCE X86_BUG(11) /* SWAPGS without input dep on GS */
|
|
|
|
|
|
#endif /* _ASM_X86_CPUFEATURES_H */
|
|
#endif /* _ASM_X86_CPUFEATURES_H */
|