diff options
author | Cédric Le Goater <clg@fr.ibm.com> | 2014-04-24 09:23:29 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-04-28 17:35:39 +1000 |
commit | 9cc36bb0aca622539be59266012d8be4346f0996 (patch) | |
tree | 613f836ac50d94eeed3723105451789ede639d02 /arch/powerpc/boot/of.h | |
parent | 926e6940f54313813d177b5cfb9ec31a441cd259 (diff) |
powerpc/boot: Add PROM_ERROR define in oflib
This is mostly useful to make to the boot wrapper code closer with
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/boot/of.h b/arch/powerpc/boot/of.h index 40d95bf7402..0f058ef6952 100644 --- a/arch/powerpc/boot/of.h +++ b/arch/powerpc/boot/of.h @@ -23,4 +23,6 @@ typedef u32 __be32; #define cpu_to_be32(x) (x) #define be32_to_cpu(x) (x) +#define PROM_ERROR (-1u) + #endif /* _PPC_BOOT_OF_H_ */ |