summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/goldfish.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/goldfish.h b/include/linux/goldfish.h
index 9cc28902b54c..569236e6b2bc 100644
--- a/include/linux/goldfish.h
+++ b/include/linux/goldfish.h
@@ -7,7 +7,7 @@ static inline void gf_write64(unsigned long data,
void __iomem *portl, void __iomem *porth)
{
writel((u32)data, portl);
-#ifdef CONFIG_ARCH_DMA_ADDR_T_64BIT
+#ifdef CONFIG_64BIT
writel(data>>32, porth);
#endif
}