mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
powerpc: Fix prom_init on 32-bit OF machines
Commit e7943fbbfd
broke ppc32 using
Open Firmware client interface due to using the wrong relocation
macro when accessing the variable "linux_banner".
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
9e41d9597e
commit
151a9f4aef
1 changed files with 1 additions and 1 deletions
|
@ -2283,7 +2283,7 @@ unsigned long __init prom_init(unsigned long r3, unsigned long r4,
|
|||
*/
|
||||
prom_init_stdout();
|
||||
|
||||
prom_printf("Preparing to boot %s", PTRRELOC((char *)linux_banner));
|
||||
prom_printf("Preparing to boot %s", RELOC(linux_banner));
|
||||
|
||||
/*
|
||||
* Get default machine type. At this point, we do not differentiate
|
||||
|
|
Loading…
Reference in a new issue