summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/of.h
diff options
context:
space:
mode:
authorCédric Le Goater <clg@fr.ibm.com>2014-04-24 09:23:31 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-04-28 17:35:47 +1000
commit6413010936bac13a965792fa0d0140bdd3b85f3c (patch)
tree4e65f9a37dcf19a08e62ba9a0efb8b93f600615e /arch/powerpc/boot/of.h
parent034e55e6c2f8e2a9ea37901ea87bac8a08464441 (diff)
downloadlinux-6413010936bac13a965792fa0d0140bdd3b85f3c.tar.bz2
powerpc/boot: Define typedef ihandle as u32
This makes ihandle 64bit friendly. 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/boot/of.h b/arch/powerpc/boot/of.h
index 504a0a31b685..e1ef620082f7 100644
--- a/arch/powerpc/boot/of.h
+++ b/arch/powerpc/boot/of.h
@@ -2,7 +2,7 @@
#define _PPC_BOOT_OF_H_
typedef void *phandle;
-typedef void *ihandle;
+typedef u32 ihandle;
void of_init(void *promptr);
int of_call_prom(const char *service, int nargs, int nret, ...);