x86/io: Define readq()/writeq() to use 64-bit type
[muen/linux.git] / arch / x86 / include / asm / io.h
index f6e5b9375d8c324644e1f8ddb221fa625e063f3b..6de64840dd22ede96c410243dcfad3b5a685365c 100644 (file)
@@ -94,10 +94,10 @@ build_mmio_write(__writel, "l", unsigned int, "r", )
 
 #ifdef CONFIG_X86_64
 
-build_mmio_read(readq, "q", unsigned long, "=r", :"memory")
-build_mmio_read(__readq, "q", unsigned long, "=r", )
-build_mmio_write(writeq, "q", unsigned long, "r", :"memory")
-build_mmio_write(__writeq, "q", unsigned long, "r", )
+build_mmio_read(readq, "q", u64, "=r", :"memory")
+build_mmio_read(__readq, "q", u64, "=r", )
+build_mmio_write(writeq, "q", u64, "r", :"memory")
+build_mmio_write(__writeq, "q", u64, "r", )
 
 #define readq_relaxed(a)       __readq(a)
 #define writeq_relaxed(v, a)   __writeq(v, a)