Skip to content
Commit 1ca97bb5 authored by Al Viro's avatar Al Viro
Browse files

new helper: current_user_stack_pointer()



	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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 5208ba24
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment