]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ppc64: fix reloc_offset comment
authorPaul Mackerras <paulus@samba.org>
Fri, 6 May 2005 03:35:04 +0000 (13:35 +1000)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 6 May 2005 05:00:52 +0000 (22:00 -0700)
commit4c47787256db369663273689189bf0706e3bba87
tree5ec4d92159e8e032e1a97b2706285a9bf06640f4
parent63f5afb49ebdc064054c2350689c4a9783d4ed37
[PATCH] ppc64: fix reloc_offset comment

The code in reloc_offset is actually subtracting the address in the link
register from the address calculated by the linker.  Perhaps the
extended mnemonic `sub' replaced an original `subf' and the comment just
did not get updated.

        bl      1f
1:      mflr    r3
        LOADADDR(r4,1b)
        sub     r3,r4,r3

Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/misc.S