sparc64: Fix sparc64_set_context stack handling.
authorDavid S. Miller <davem@davemloft.net>
Tue, 1 Mar 2016 05:25:32 +0000 (00:25 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Mar 2016 05:25:32 +0000 (00:25 -0500)
commit397d1533b6cce0ccb5379542e2e6d079f6936c46
tree3bc2b265f12ca9bbe1d3e4dc7b37f64970cfc89f
parent22be3b105597002ad3499bdb9c0aba49c9ab05f7
sparc64: Fix sparc64_set_context stack handling.

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