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>
Esse commit está contido em:

commit de
Benjamin Herrenschmidt

pai
926e6940f5
commit
9cc36bb0ac
@@ -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_ */
|
||||
|
Referência em uma nova issue
Block a user