]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sparc64: Fix sparc64_set_context stack handling.
authorDavid S. Miller <davem@davemloft.net>
Tue, 1 Mar 2016 05:25:32 +0000 (00:25 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Jun 2016 17:18:21 +0000 (10:18 -0700)
commitb1206090828584bcb1caf4c850d175f297eb7bc8
treeef020f07083c2d36defe0700254749f879141467
parent4185bd68ef40b275669efec624c0d792cd7a2acf
sparc64: Fix sparc64_set_context stack handling.

[ Upstream commit 397d1533b6cce0ccb5379542e2e6d079f6936c46 ]

Like a signal return, we should use synchronize_user_stack() rather
than flush_user_windows().

Reported-by: Ilya Malakhov <ilmalakhovthefirst@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/sparc/kernel/signal_64.c