diff options
author | Al Viro | 2012-11-18 18:50:10 +0100 |
---|---|---|
committer | Al Viro | 2012-12-20 00:07:39 +0100 |
commit | 1ca97bb541a1f5a735e697a8bba763cde3aab452 (patch) | |
tree | 548d835c0f13de780678922ba3b3ea4c841e8cd7 /ipc/util.h | |
parent | missing user_stack_pointer() instances (diff) | |
download | kernel-qcow2-linux-1ca97bb541a1f5a735e697a8bba763cde3aab452.tar.gz kernel-qcow2-linux-1ca97bb541a1f5a735e697a8bba763cde3aab452.tar.xz kernel-qcow2-linux-1ca97bb541a1f5a735e697a8bba763cde3aab452.zip |
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: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'ipc/util.h')
0 files changed, 0 insertions, 0 deletions