From 6ff43719d2f225ee90364ce054a955590a07e911 Mon Sep 17 00:00:00 2001 From: Sedat Dilek Date: Tue, 22 May 2018 09:52:15 +0200 Subject: [PATCH 2/2] x86/paravirt: Mark native_save_fl() with __nostackprotector attribute --- arch/x86/include/asm/irqflags.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/irqflags.h b/arch/x86/include/asm/irqflags.h index 89f08955fff7..6def04321181 100644 --- a/arch/x86/include/asm/irqflags.h +++ b/arch/x86/include/asm/irqflags.h @@ -13,7 +13,7 @@ * Interrupt control: */ -static inline unsigned long native_save_fl(void) +static inline unsigned long __nostackprotector native_save_fl(void) { unsigned long flags; -- 2.17.0