new helper: current_user_stack_pointer()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 18 Nov 2012 17:50:10 +0000 (12:50 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 19 Dec 2012 23:07:39 +0000 (18:07 -0500)
Cross-architecture equivalent of rdusp(); default is
user_stack_pointer(current_pt_regs()) - that works for almost all
platforms that have usp saved in pt_regs.  The only exception from
that is ia64 - we want memory stack, not the backing store for
register one.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

No differences found