diff options
author | Cédric Le Goater <clg@fr.ibm.com> | 2014-04-24 03:23:30 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-04-28 03:35:43 -0400 |
commit | 034e55e6c2f8e2a9ea37901ea87bac8a08464441 (patch) | |
tree | 07bf1168a28a1cbc85c9231a16300d05d48b923c /arch/powerpc/boot/of.h | |
parent | 9cc36bb0aca622539be59266012d8be4346f0996 (diff) |
powerpc/boot: Rework of_claim() to make it 64bit friendly
This patch fixes 64bit compile warnings and updates the wrapper code
to converge the kernel code in prom_init.
Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/of.h')
-rw-r--r-- | arch/powerpc/boot/of.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/boot/of.h b/arch/powerpc/boot/of.h index 0f058ef69521..504a0a31b685 100644 --- a/arch/powerpc/boot/of.h +++ b/arch/powerpc/boot/of.h | |||
@@ -6,7 +6,8 @@ typedef void *ihandle; | |||
6 | 6 | ||
7 | void of_init(void *promptr); | 7 | void of_init(void *promptr); |
8 | int of_call_prom(const char *service, int nargs, int nret, ...); | 8 | int of_call_prom(const char *service, int nargs, int nret, ...); |
9 | void *of_claim(unsigned long virt, unsigned long size, unsigned long align); | 9 | unsigned int of_claim(unsigned long virt, unsigned long size, |
10 | unsigned long align); | ||
10 | void *of_vmlinux_alloc(unsigned long size); | 11 | void *of_vmlinux_alloc(unsigned long size); |
11 | void of_exit(void); | 12 | void of_exit(void); |
12 | void *of_finddevice(const char *name); | 13 | void *of_finddevice(const char *name); |