projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db97bc7
)
powerpc/cell: Fix integer constant warning
author
Denis Kirjanov
<
[email protected]
>
Thu, 27 May 2010 04:19:52 +0000
(
04:19
+0000)
committer
Benjamin Herrenschmidt
<
[email protected]
>
Wed, 2 Jun 2010 07:50:37 +0000
(17:50 +1000)
Fix smatch warning: warning: constant 0x800000000 is so big it is long
Signed-off-by: Denis Kirjanov <
[email protected]
>
Signed-off-by: Benjamin Herrenschmidt <
[email protected]
>
arch/powerpc/platforms/cell/iommu.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/cell/iommu.c
b/arch/powerpc/platforms/cell/iommu.c
index 22667a09d40eee6276eff723a8e4523e2b2e5bd2..4326b737d913e02d4541320c5bb3cecc45f7220b 100644
(file)
--- 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) <= 0x800000000
ul
)
hbase = 0; /* use the device tree window */
else {
/* If we're over 32 GB we need to cheat. We can't map all of