aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/include/asm/io.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h
index b3bba2f87e18..9ada93f01524 100644
--- a/arch/x86/include/asm/io.h
+++ b/arch/x86/include/asm/io.h
@@ -94,13 +94,15 @@ build_mmio_write(__writel, "l", unsigned int, "r", )
94#ifdef CONFIG_X86_64 94#ifdef CONFIG_X86_64
95 95
96build_mmio_read(readq, "q", unsigned long, "=r", :"memory") 96build_mmio_read(readq, "q", unsigned long, "=r", :"memory")
97build_mmio_read(__readq, "q", unsigned long, "=r", )
97build_mmio_write(writeq, "q", unsigned long, "r", :"memory") 98build_mmio_write(writeq, "q", unsigned long, "r", :"memory")
99build_mmio_write(__writeq, "q", unsigned long, "r", )
98 100
99#define readq_relaxed(a) readq(a) 101#define readq_relaxed(a) __readq(a)
100#define writeq_relaxed(v, a) writeq(v, a) 102#define writeq_relaxed(v, a) __writeq(v, a)
101 103
102#define __raw_readq(a) readq(a) 104#define __raw_readq __readq
103#define __raw_writeq(val, addr) writeq(val, addr) 105#define __raw_writeq __writeq
104 106
105/* Let people know that we have them */ 107/* Let people know that we have them */
106#define readq readq 108#define readq readq