summaryrefslogtreecommitdiff
path: root/arch/powerpc/boot/of.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/boot/of.h')
-rw-r--r--arch/powerpc/boot/of.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/boot/of.h b/arch/powerpc/boot/of.h
index 5603320dce07..53f8f27f94e4 100644
--- a/arch/powerpc/boot/of.h
+++ b/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)