alpha: take a bunch of syscalls into osf_sys.c
authorAl Viro <viro@ZenIV.linux.org.uk>
Sun, 19 Aug 2012 02:40:59 +0000 (14:40 +1200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 19 Aug 2012 15:41:19 +0000 (08:41 -0700)
commitbe53db6e4edd9dc013b21a929ad2b142dea8b9c0
tree7c4604295375f432071c2077362df2e6c278af53
parentf2db633d301b4b50f5f93de0e8314cc81e9bc7de
alpha: take a bunch of syscalls into osf_sys.c

New helper: current_thread_info().  Allows to do a bunch of odd syscalls
in C. While we are at it, there had never been a reason to do
osf_getpriority() in assembler.  We also get "namespace"-aware (read:
consistent with getuid(2), etc.) behaviour from getx?id() syscalls now.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Michael Cree <mcree@orcon.net.nz>
Acked-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/alpha/include/asm/ptrace.h
arch/alpha/kernel/entry.S
arch/alpha/kernel/osf_sys.c
arch/alpha/kernel/systbls.S
kernel/timer.c