diff options
author | Alan Cox <alan@linux.intel.com> | 2014-05-19 17:34:09 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-20 05:30:40 +0400 |
commit | 8d9e9857c576d8d710ae6a6152a6ddcd29772bb1 (patch) | |
tree | c29dc0eeb4c6b16eb18828d14d7671b13a22df0c | |
parent | 85dfd522f885ee4ec0b0b4efa1fdd9c650e243be (diff) | |
download | linux-8d9e9857c576d8d710ae6a6152a6ddcd29772bb1.tar.xz |
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>
-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, 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 } |