Commit b42b6617 authored by Paul Mackerras's avatar Paul Mackerras

powerpc: Make prom_init.c suitable for both 32-bit and 64-bit

Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 9994a338
...@@ -1968,9 +1968,9 @@ unsigned long __init prom_init(unsigned long r3, unsigned long r4, ...@@ -1968,9 +1968,9 @@ unsigned long __init prom_init(unsigned long r3, unsigned long r4,
extern char _stext[]; extern char _stext[];
unsigned long hdr; unsigned long hdr;
u32 getprop_rval; u32 getprop_rval;
unsigned long offset = reloc_offset();
#ifdef CONFIG_PPC32 #ifdef CONFIG_PPC32
unsigned long offset = reloc_offset();
reloc_got2(offset); reloc_got2(offset);
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment