]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
powerpc/ps3: set_dabr() takes an unsigned long
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 13 Jan 2009 19:54:50 +0000 (19:54 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 16 Jan 2009 05:15:11 +0000 (16:15 +1100)
Also silences this warning:

arch/powerpc/platforms/ps3/setup.c:275: warning: initialization from incompatible pointer type

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/ps3/setup.c

index 35f3e85cf60ea9d79ff873f10090395c791f1c99..3331ccbb8d389c6d76dd4c548beeb3c30d6404b8 100644 (file)
@@ -186,7 +186,7 @@ early_param("ps3flash", early_parse_ps3flash);
 #define prealloc_ps3flash_bounce_buffer()      do { } while (0)
 #endif
 
-static int ps3_set_dabr(u64 dabr)
+static int ps3_set_dabr(unsigned long dabr)
 {
        enum {DABR_USER = 1, DABR_KERNEL = 2,};