]> 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)
commit133027ad019e8666b72ae8cfdcc48aaa2cd750ce
tree3c170eca99ef070c9a0e3fa9036a72088145a77f
parente62cbe05c8e1c2fdf6f111f57136da49ac30c475
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