]> git.ipfire.org Git - people/ms/linux.git/commit
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)
committerJiri Slaby <jslaby@suse.cz>
Tue, 26 Aug 2014 12:11:55 +0000 (14:11 +0200)
commit46d044e759115fdeb3ca5b74293d0cd641ae97c8
treea1532a332480625176b2f6bab6f763688b3050ae
parent47b752610108d84c8032b75877b94cdafff0a90e
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: Jiri Slaby <jslaby@suse.cz>
arch/sparc/kernel/unaligned_64.c