1
0
Fork 0

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>
wifi-calibration
Alan Cox 2014-05-19 14:34:09 +01:00 committed by Greg Kroah-Hartman
parent 85dfd522f8
commit 8d9e9857c5
1 changed files with 1 additions and 1 deletions

View File

@ -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
}