From 3fcf9ae0038275d379a8cfda40bd2a72f1e9d763 Mon Sep 17 00:00:00 2001 From: Maxime Bizon Date: Fri, 4 Nov 2011 19:09:28 +0100 Subject: [PATCH] --- yaml --- r: 284743 b: refs/heads/master c: 015ce7d3526be8a969390fe625cb18f958e85a51 h: refs/heads/master i: 284741: a33b60e3aeb190ec4a0c653ca19ba234d8309f84 284739: 71ad9a579d9fed0f4c73d8d4be0e5215e45593d2 284735: 1476b7182a28e715739226e12f147b8d6caddc5b v: v3 --- [refs] | 2 +- trunk/arch/mips/include/asm/mach-bcm63xx/bcm63xx_io.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 5ee0b0452477..749c9d9f3ebe 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 37c42a741f6c2c76dc5e61650e5d66dd20540aaf +refs/heads/master: 015ce7d3526be8a969390fe625cb18f958e85a51 diff --git a/trunk/arch/mips/include/asm/mach-bcm63xx/bcm63xx_io.h b/trunk/arch/mips/include/asm/mach-bcm63xx/bcm63xx_io.h index 91180fac6ed9..72477a6441dd 100644 --- a/trunk/arch/mips/include/asm/mach-bcm63xx/bcm63xx_io.h +++ b/trunk/arch/mips/include/asm/mach-bcm63xx/bcm63xx_io.h @@ -49,9 +49,11 @@ #define bcm_readb(a) (*(volatile unsigned char *) BCM_REGS_VA(a)) #define bcm_readw(a) (*(volatile unsigned short *) BCM_REGS_VA(a)) #define bcm_readl(a) (*(volatile unsigned int *) BCM_REGS_VA(a)) +#define bcm_readq(a) (*(volatile u64 *) BCM_REGS_VA(a)) #define bcm_writeb(v, a) (*(volatile unsigned char *) BCM_REGS_VA((a)) = (v)) #define bcm_writew(v, a) (*(volatile unsigned short *) BCM_REGS_VA((a)) = (v)) #define bcm_writel(v, a) (*(volatile unsigned int *) BCM_REGS_VA((a)) = (v)) +#define bcm_writeq(v, a) (*(volatile u64 *) BCM_REGS_VA((a)) = (v)) /* * IO helpers to access register set for current CPU