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)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 May 2014 05:33:06 +0000 (22:33 -0700)
commitd037d16372bbe4d580342bebbb8826821ad9edf0
tree3c170eca99ef070c9a0e3fa9036a72088145a77f
parenteaf85da82669b057f20c4e438dc2566b51a83af6
sparc64: Handle 32-bit tasks properly in compute_effective_address().

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>
arch/sparc/kernel/unaligned_64.c