powerpc: Fix bug caused by negation of 64-bit reloc_offset value
authorPaul Mackerras <paulus@samba.org>
Mon, 10 Oct 2005 12:41:25 +0000 (22:41 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 10 Oct 2005 12:41:25 +0000 (22:41 +1000)
commit5a408329ed19cf2a80e831d28cbd93d2e36155a6
treedc5ae749f1da14819ef6947893b0c4f2d9e1ed1c
parent4a2885630bc0735e573bced7001dae9750cb80d5
powerpc: Fix bug caused by negation of 64-bit reloc_offset value

Although both ppc32 and ppc64 have a reloc_offset function, the ppc64
one produced the opposite sign to the ppc32 one.  This standardizes
on the ppc32 sign and fixes the merged 64-bit code to account for that.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/head_64.S
arch/powerpc/kernel/prom_init.c