]> git.baikalelectronics.ru Git - kernel.git/commit
sparc32: Be less strict in matching %lo part of relocation.
authorDavid S. Miller <davem@davemloft.net>
Wed, 14 Dec 2011 18:05:22 +0000 (10:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Dec 2011 18:57:28 +0000 (10:57 -0800)
commit3c604814e8b5324e3d500b7a8912c7fbf414ddef
treeba282dbd218ad8cf2e51e5325fecd43a4554c9d7
parentdca61ecf3da5a234ebc2d926efeeaa116e6cc996
sparc32: Be less strict in matching %lo part of relocation.

The "(insn & 0x01800000) != 0x01800000" test matches 'restore'
but that is a legitimate place to see the %lo() part of a 32-bit
symbol relocation, particularly in tail calls.

Signed-off-by: David S. Miller <davem@davemloft.net>
Tested-by: Sergei Trofimovich <slyfox@gentoo.org>
arch/sparc/mm/btfixup.c