Commit 1f655232 authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[PATCH] Fix warnings in es7000

Fix warnings in es7000. 

Otherwise gcc 3.3 complains about too large integer values.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 5f8dbb56
......@@ -29,7 +29,7 @@
#define MIP_BUSY 1
#define MIP_SPIN 0xf0000
#define MIP_VALID 0x0100000000000000
#define MIP_VALID 0x0100000000000000ULL
#define MIP_PORT(VALUE) ((VALUE >> 32) & 0xffff)
#define MIP_RD_LO(VALUE) (VALUE & 0xffffffff)
......
......@@ -237,7 +237,7 @@ es7000_mip_write(struct mip_reg *mip_reg)
}
status = ((unsigned long long)mip_reg->off_0 &
(unsigned long long)0xffff0000000000) >> 48;
(unsigned long long)0xffff0000000000ULL) >> 48;
mip_reg->off_38 = ((unsigned long long)mip_reg->off_38 &
(unsigned long long)~MIP_VALID);
return status;
......
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