diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/include/asm/io.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h index b8237d8a1e0c..2ea07f5ec7b7 100644 --- a/arch/x86/include/asm/io.h +++ b/arch/x86/include/asm/io.h | |||
@@ -74,6 +74,9 @@ build_mmio_write(__writel, "l", unsigned int, "r", ) | |||
74 | #define __raw_readw __readw | 74 | #define __raw_readw __readw |
75 | #define __raw_readl __readl | 75 | #define __raw_readl __readl |
76 | 76 | ||
77 | #define writeb_relaxed(v, a) __writeb(v, a) | ||
78 | #define writew_relaxed(v, a) __writew(v, a) | ||
79 | #define writel_relaxed(v, a) __writel(v, a) | ||
77 | #define __raw_writeb __writeb | 80 | #define __raw_writeb __writeb |
78 | #define __raw_writew __writew | 81 | #define __raw_writew __writew |
79 | #define __raw_writel __writel | 82 | #define __raw_writel __writel |
@@ -86,6 +89,7 @@ build_mmio_read(readq, "q", unsigned long, "=r", :"memory") | |||
86 | build_mmio_write(writeq, "q", unsigned long, "r", :"memory") | 89 | build_mmio_write(writeq, "q", unsigned long, "r", :"memory") |
87 | 90 | ||
88 | #define readq_relaxed(a) readq(a) | 91 | #define readq_relaxed(a) readq(a) |
92 | #define writeq_relaxed(v, a) writeq(v, a) | ||
89 | 93 | ||
90 | #define __raw_readq(a) readq(a) | 94 | #define __raw_readq(a) readq(a) |
91 | #define __raw_writeq(val, addr) writeq(val, addr) | 95 | #define __raw_writeq(val, addr) writeq(val, addr) |