Skip to content

Commit b7a5eb6

Browse files
jgross1KAGA-KOKO
authored andcommitted
x86/paravirt: Prevent redefinition of SAVE_FLAGS macro
The PARAVIRT_XXL changes introduced a redefinition of SAVE_FLAGS under certain configurations. Cure it Fixes: 6da63eb ("x86/paravirt: Move the pv_irq_ops under the PARAVIRT_XXL umbrella"). Signed-off-by: Juergen Gross <jgross@suse.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: hpa@zytor.com Link: https://lkml.kernel.org/r/20180905053720.13710-1-jgross@suse.com
1 parent 4f2d7af commit b7a5eb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/include/asm/paravirt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,6 @@ extern void default_banner(void);
914914
PARA_SITE(PARA_PATCH(PV_CPU_usergs_sysret64), \
915915
ANNOTATE_RETPOLINE_SAFE; \
916916
jmp PARA_INDIRECT(pv_ops+PV_CPU_usergs_sysret64);)
917-
#endif
918917

919918
#ifdef CONFIG_DEBUG_ENTRY
920919
#define SAVE_FLAGS(clobbers) \
@@ -924,6 +923,7 @@ extern void default_banner(void);
924923
call PARA_INDIRECT(pv_ops+PV_IRQ_save_fl); \
925924
PV_RESTORE_REGS(clobbers | CLBR_CALLEE_SAVE);)
926925
#endif
926+
#endif
927927

928928
#endif /* CONFIG_X86_32 */
929929

0 commit comments

Comments
 (0)