]> www.infradead.org Git - users/jedix/linux-maple.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)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Tue, 10 Jan 2012 21:02:28 +0000 (13:02 -0800)
commite44e4b743803df4da5a7b61fef1a9917bfdefc7c
tree1d2c18c0106057a9d14f610eb5f24a7ee8fbe4b5
parent6317c12d915e8dcd852bc77cc3c5f43d0405a074
sparc32: Be less strict in matching %lo part of relocation.

[ Upstream commit b1f44e13a525d2ffb7d5afe2273b7169d6f2222e ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/sparc/mm/btfixup.c