Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c52fe6b6 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Benjamin Herrenschmidt
Browse files

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: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Acked-by: default avatarGeoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 775a42ec
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -186,7 +186,7 @@ early_param("ps3flash", early_parse_ps3flash);
#define prealloc_ps3flash_bounce_buffer()	do { } while (0)
#define prealloc_ps3flash_bounce_buffer()	do { } while (0)
#endif
#endif


static int ps3_set_dabr(u64 dabr)
static int ps3_set_dabr(unsigned long dabr)
{
{
	enum {DABR_USER = 1, DABR_KERNEL = 2,};
	enum {DABR_USER = 1, DABR_KERNEL = 2,};