summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-08-30 07:05:21 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-08-30 07:05:21 +0200
commit1fdab81e675c6ef76a49b8aabb7eaf4be51d1b80 (patch)
treecc2917f41eee3ae7c30195308456a034f5baaa1a
parentMerge refs/heads/upstream from master.kernel.org:/pub/scm/linux/kernel/git/jg... (diff)
parent[PATCH] s2io build fix (diff)
downloadlinux-1fdab81e675c6ef76a49b8aabb7eaf4be51d1b80.tar.xz
linux-1fdab81e675c6ef76a49b8aabb7eaf4be51d1b80.zip
Merge refs/heads/upstream-fixes from master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
-rw-r--r--drivers/net/s2io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h
index 5d9270730ca2..bc64d967f080 100644
--- a/drivers/net/s2io.h
+++ b/drivers/net/s2io.h
@@ -762,8 +762,8 @@ static inline u64 readq(void __iomem *addr)
{
u64 ret = 0;
ret = readl(addr + 4);
- (u64) ret <<= 32;
- (u64) ret |= readl(addr);
+ ret <<= 32;
+ ret |= readl(addr);
return ret;
}