Commit e316734c authored by Andi Kleen's avatar Andi Kleen Committed by Jeff Garzik

[PATCH] Fix gcc4 compilation in s2io net driver

Signed-off-by: default avatarAndi Kleen <ak@suse.de>
parent ed01e312
...@@ -740,8 +740,8 @@ static inline u64 readq(void *addr) ...@@ -740,8 +740,8 @@ static inline u64 readq(void *addr)
{ {
u64 ret = 0; u64 ret = 0;
ret = readl(addr + 4); ret = readl(addr + 4);
(u64) ret <<= 32; ret <<= 32;
(u64) ret |= readl(addr); ret |= readl(addr);
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment