summaryrefslogtreecommitdiffstats
path: root/kernel/arch/powerpc/boot/of.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/powerpc/boot/of.h')
-rw-r--r--kernel/arch/powerpc/boot/of.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/arch/powerpc/boot/of.h b/kernel/arch/powerpc/boot/of.h
index 5603320dc..53f8f27f9 100644
--- a/kernel/arch/powerpc/boot/of.h
+++ b/kernel/arch/powerpc/boot/of.h
@@ -21,7 +21,9 @@ int of_setprop(const void *phandle, const char *name, const void *buf,
/* Console functions */
void of_console_init(void);
+typedef u16 __be16;
typedef u32 __be32;
+typedef u64 __be64;
#ifdef __LITTLE_ENDIAN__
#define cpu_to_be16(x) swab16(x)