aboutsummaryrefslogtreecommitdiff
path: root/include/asm-alpha/core_wildfire.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-alpha/core_wildfire.h')
-rw-r--r--include/asm-alpha/core_wildfire.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-alpha/core_wildfire.h b/include/asm-alpha/core_wildfire.h
index 12af803d445..cd562f544ba 100644
--- a/include/asm-alpha/core_wildfire.h
+++ b/include/asm-alpha/core_wildfire.h
@@ -295,7 +295,7 @@ __EXTERN_INLINE int wildfire_is_ioaddr(unsigned long addr)
__EXTERN_INLINE int wildfire_is_mmio(const volatile void __iomem *xaddr)
{
- unsigned long addr = (unsigned long)addr;
+ unsigned long addr = (unsigned long)xaddr;
return (addr & 0x100000000UL) == 0;
}