diff options
Diffstat (limited to 'arch/x86/include/asm/shared/io.h')
| -rw-r--r-- | arch/x86/include/asm/shared/io.h | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/shared/io.h b/arch/x86/include/asm/shared/io.h index c0ef921c0586..8009d781c2f9 100644 --- a/arch/x86/include/asm/shared/io.h +++ b/arch/x86/include/asm/shared/io.h @@ -5,13 +5,13 @@  #include <linux/types.h>  #define BUILDIO(bwl, bw, type)						\ -static inline void __out##bwl(type value, u16 port)			\ +static __always_inline void __out##bwl(type value, u16 port)		\  {									\  	asm volatile("out" #bwl " %" #bw "0, %w1"			\  		     : : "a"(value), "Nd"(port));			\  }									\  									\ -static inline type __in##bwl(u16 port)					\ +static __always_inline type __in##bwl(u16 port)				\  {									\  	type value;							\  	asm volatile("in" #bwl " %w1, %" #bw "0"			\  |