diff options
author | Denis Kirjanov <dkirjanov@hera.kernel.org> | 2010-05-27 04:19:52 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-06-02 17:50:37 +1000 |
commit | 257d569821165a76fb4c91d74909c2e61fe41e46 (patch) | |
tree | 4571f4fdd508c156aea7d2424a7f5c09a4d9d096 /arch/powerpc/platforms | |
parent | db97bc7f9997fef41b24c91f61c2f776d32d7ce3 (diff) | |
download | blackbird-op-linux-257d569821165a76fb4c91d74909c2e61fe41e46.tar.gz blackbird-op-linux-257d569821165a76fb4c91d74909c2e61fe41e46.zip |
powerpc/cell: Fix integer constant warning
Fix smatch warning: warning: constant 0x800000000 is so big it is long
Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/cell/iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/iommu.c b/arch/powerpc/platforms/cell/iommu.c index 22667a09d40e..4326b737d913 100644 --- a/arch/powerpc/platforms/cell/iommu.c +++ b/arch/powerpc/platforms/cell/iommu.c @@ -1066,7 +1066,7 @@ static int __init cell_iommu_fixed_mapping_init(void) fbase = _ALIGN_UP(fbase, 1 << IO_SEGMENT_SHIFT); fsize = lmb_phys_mem_size(); - if ((fbase + fsize) <= 0x800000000) + if ((fbase + fsize) <= 0x800000000ul) hbase = 0; /* use the device tree window */ else { /* If we're over 32 GB we need to cheat. We can't map all of |