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)
commitb1f44e13a525d2ffb7d5afe2273b7169d6f2222e
treeba282dbd218ad8cf2e51e5325fecd43a4554c9d7
parentdbf2b92d54e73e4a2524b90d29bd498ecc4aa593
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