]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit61a76fc5e01a18005b20a87befb13c0ba1762d6b
treedc5ae749f1da14819ef6947893b0c4f2d9e1ed1c
parenta0709bcd412c7c59b73da81cf55f9918e48c0fcb
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