sparc64: Handle 32-bit tasks properly in compute_effective_address().
authorDavid S. Miller <davem@davemloft.net>
Tue, 29 Apr 2014 06:50:08 +0000 (23:50 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Aug 2014 01:24:16 +0000 (09:24 +0800)
commitff156a9ba7c160c8fc1c8d4bb0fb935771e105dc
treed4fa9fa78a9e1c16b70dba208e63f4bbd8fc2045
parentf07030c1e2eadec2ee9863e1b7e06036a2166886
sparc64: Handle 32-bit tasks properly in compute_effective_address().

[ Upstream commit d037d16372bbe4d580342bebbb8826821ad9edf0 ]

If we have a 32-bit task we must chop off the top 32-bits of the
64-bit value just as the cpu would.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/sparc/kernel/unaligned_64.c