]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Jan 2012 22:17:24 +0000 (14:17 -0800)
commit588195deba991fe368241abdc4f270d6d3792e7d
tree0460b0f5d6163e761287a760a0d89a20cef09e4e
parent6c1c9cf6f1336fc332d2e1fc0453e2bc16a7089b
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