From: Stephen Rothwell Date: Tue, 13 Jan 2009 19:54:50 +0000 (+0000) Subject: powerpc/ps3: set_dabr() takes an unsigned long X-Git-Tag: v2.6.29-rc2~4^2~15 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c52fe6b620e9c7a52b296ec478bd24b91b4e7634;p=linux-2.6-omap-h63xx.git powerpc/ps3: set_dabr() takes an unsigned long Also silences this warning: arch/powerpc/platforms/ps3/setup.c:275: warning: initialization from incompatible pointer type Signed-off-by: Stephen Rothwell Acked-by: Geoff Levand Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/platforms/ps3/setup.c b/arch/powerpc/platforms/ps3/setup.c index 35f3e85cf60..3331ccbb8d3 100644 --- a/arch/powerpc/platforms/ps3/setup.c +++ b/arch/powerpc/platforms/ps3/setup.c @@ -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,};