From 7c74f4e4cabdb5d183cdb3fd7550b99e473c4085 Mon Sep 17 00:00:00 2001 From: Jeff Dike Date: Fri, 30 Jun 2006 01:55:59 -0700 Subject: [PATCH] --- yaml --- r: 31401 b: refs/heads/master c: 92fe15a3d24fa53e7e961c549c488d0bb642d895 h: refs/heads/master i: 31399: 73897262b589be7f8fba3f1b50ec45fa35bd971e v: v3 --- [refs] | 2 +- trunk/include/asm-um/io.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 61eed5185920..d340e7334b3f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ff23db5373f66a818c296f4d58adaaa10f515fd3 +refs/heads/master: 92fe15a3d24fa53e7e961c549c488d0bb642d895 diff --git a/trunk/include/asm-um/io.h b/trunk/include/asm-um/io.h index 1934d9340e2c..44e8b8c772ae 100644 --- a/trunk/include/asm-um/io.h +++ b/trunk/include/asm-um/io.h @@ -45,8 +45,13 @@ static inline void writel(unsigned int b, volatile void __iomem *addr) { *(volatile unsigned int __force *) addr = b; } +static inline void writeq(unsigned int b, volatile void __iomem *addr) +{ + *(volatile unsigned long long __force *) addr = b; +} #define __raw_writeb writeb #define __raw_writew writew #define __raw_writel writel +#define __raw_writeq writeq #endif