Commit 257d5698 authored by Denis Kirjanov's avatar Denis Kirjanov Committed by Benjamin Herrenschmidt

powerpc/cell: Fix integer constant warning

Fix smatch warning:  warning: constant 0x800000000 is so big it is long
Signed-off-by: default avatarDenis Kirjanov <dkirjanov@kernel.org>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent db97bc7f
...@@ -1066,7 +1066,7 @@ static int __init cell_iommu_fixed_mapping_init(void) ...@@ -1066,7 +1066,7 @@ static int __init cell_iommu_fixed_mapping_init(void)
fbase = _ALIGN_UP(fbase, 1 << IO_SEGMENT_SHIFT); fbase = _ALIGN_UP(fbase, 1 << IO_SEGMENT_SHIFT);
fsize = lmb_phys_mem_size(); fsize = lmb_phys_mem_size();
if ((fbase + fsize) <= 0x800000000) if ((fbase + fsize) <= 0x800000000ul)
hbase = 0; /* use the device tree window */ hbase = 0; /* use the device tree window */
else { else {
/* If we're over 32 GB we need to cheat. We can't map all of /* If we're over 32 GB we need to cheat. We can't map all of
......
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