]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 May 2014 05:33:06 +0000 (22:33 -0700)
commit0d03fc3c6d82b53b6bbc9636591536a656389c0b
tree3c170eca99ef070c9a0e3fa9036a72088145a77f
parent1e7801fd4f8760cea81f464fc05b3033851f0acd
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