diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-10 08:37:16 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-10 08:37:16 -0400 |
commit | b42b661745c8d78cd3483752fb22cc7420c67f74 (patch) | |
tree | 8b1d74f22cce3613039df205d19da912230e21bc /arch/powerpc/kernel/prom_init.c | |
parent | 9994a33865f4d55c44c9731c01e1f891543278de (diff) |
powerpc: Make prom_init.c suitable for both 32-bit and 64-bit
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/prom_init.c')
-rw-r--r-- | arch/powerpc/kernel/prom_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index e01cda1454c9..75b487f107c3 100644 --- a/arch/powerpc/kernel/prom_init.c +++ b/arch/powerpc/kernel/prom_init.c | |||
@@ -1968,9 +1968,9 @@ unsigned long __init prom_init(unsigned long r3, unsigned long r4, | |||
1968 | extern char _stext[]; | 1968 | extern char _stext[]; |
1969 | unsigned long hdr; | 1969 | unsigned long hdr; |
1970 | u32 getprop_rval; | 1970 | u32 getprop_rval; |
1971 | unsigned long offset = reloc_offset(); | ||
1971 | 1972 | ||
1972 | #ifdef CONFIG_PPC32 | 1973 | #ifdef CONFIG_PPC32 |
1973 | unsigned long offset = reloc_offset(); | ||
1974 | reloc_got2(offset); | 1974 | reloc_got2(offset); |
1975 | #endif | 1975 | #endif |
1976 | 1976 | ||