summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/cell/spider-pic.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2006-10-04 17:26:24 +0200
committerPaul Mackerras <paulus@samba.org>2006-10-05 01:21:02 +0200
commit43b4f4061cf54aa225a1e94a969450ccf5305cd9 (patch)
treecef8ed4fe2ca1019509e585bf4dcaab04236bcaf /arch/powerpc/platforms/cell/spider-pic.c
parent[POWERPC] spiderpic: enable new style devtree support (diff)
downloadlinux-43b4f4061cf54aa225a1e94a969450ccf5305cd9.tar.xz
linux-43b4f4061cf54aa225a1e94a969450ccf5305cd9.zip
[POWERPC] cell: fix bugs found by sparse
- Some long constants should be marked 'ul'. - When using desc->handler_data to pass an __iomem register area, we need to add casts to and from __iomem. Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/spider-pic.c')
-rw-r--r--arch/powerpc/platforms/cell/spider-pic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/spider-pic.c b/arch/powerpc/platforms/cell/spider-pic.c
index 6794de0cc0f0..b0e95d594c51 100644
--- a/arch/powerpc/platforms/cell/spider-pic.c
+++ b/arch/powerpc/platforms/cell/spider-pic.c
@@ -367,7 +367,7 @@ void __init spider_init_IRQ(void)
} else if (device_is_compatible(dn, "sti,platform-spider-pic")
&& (chip < 2)) {
static long hard_coded_pics[] =
- { 0x24000008000, 0x34000008000 };
+ { 0x24000008000ul, 0x34000008000ul};
r.start = hard_coded_pics[chip];
} else
continue;