forked from Minki/linux
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 <sfr@canb.auug.org.au> Acked-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
775a42ecf8
commit
c52fe6b620
@ -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,};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user