diff options
author | Alan Cox <alan@linux.intel.com> | 2014-05-19 09:34:09 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-19 21:30:40 -0400 |
commit | 8d9e9857c576d8d710ae6a6152a6ddcd29772bb1 (patch) | |
tree | c29dc0eeb4c6b16eb18828d14d7671b13a22df0c /include/linux/goldfish.h | |
parent | 85dfd522f885ee4ec0b0b4efa1fdd9c650e243be (diff) |
goldfish: fix >> 32 warning
We should be checking for a 64bit platform not 64bit DMA address types in
the case of Goldfish. The Goldfish virtual platform is either 32/32 or
64/64.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/goldfish.h')
-rw-r--r-- | include/linux/goldfish.h | 2 |
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, | |||
7 | void __iomem *portl, void __iomem *porth) | 7 | void __iomem *portl, void __iomem *porth) |
8 | { | 8 | { |
9 | writel((u32)data, portl); | 9 | writel((u32)data, portl); |
10 | #ifdef CONFIG_ARCH_DMA_ADDR_T_64BIT | 10 | #ifdef CONFIG_64BIT |
11 | writel(data>>32, porth); | 11 | writel(data>>32, porth); |
12 | #endif | 12 | #endif |
13 | } | 13 | } |