diff options
| -rw-r--r-- | arch/x86/include/asm/irqflags.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/include/asm/irqflags.h b/arch/x86/include/asm/irqflags.h index c14f2a74b2be..15450a675031 100644 --- a/arch/x86/include/asm/irqflags.h +++ b/arch/x86/include/asm/irqflags.h | |||
| @@ -33,7 +33,8 @@ extern inline unsigned long native_save_fl(void) | |||
| 33 | return flags; | 33 | return flags; |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | static inline void native_restore_fl(unsigned long flags) | 36 | extern inline void native_restore_fl(unsigned long flags); |
| 37 | extern inline void native_restore_fl(unsigned long flags) | ||
| 37 | { | 38 | { |
| 38 | asm volatile("push %0 ; popf" | 39 | asm volatile("push %0 ; popf" |
| 39 | : /* no output */ | 40 | : /* no output */ |
