summaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorRichard Guy Briggs <rgb@redhat.com>2014-03-01 00:34:19 +0400
committerEric Paris <eparis@redhat.com>2014-09-24 00:20:00 +0400
commit1002d94d30765b1faf0840adef9ed7e6b7aa5783 (patch)
tree7183fe830ab82128ee43671aa8e32f7abff5059d /include/asm-generic
parent7e51aa4486bcf72daeb5d30227c4c01563f37044 (diff)
downloadlinux-1002d94d30765b1faf0840adef9ed7e6b7aa5783.tar.xz
syscall.h: fix doc text for syscall_get_arch()
syscall_get_arch() used to take a task as a argument. It now uses current. Fix the doc text. Signed-off-by: Richard Guy Briggs <rgb@redhat.com> Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/syscall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/syscall.h b/include/asm-generic/syscall.h
index d401e5463fb0..0c938a4354f6 100644
--- a/include/asm-generic/syscall.h
+++ b/include/asm-generic/syscall.h
@@ -147,7 +147,7 @@ void syscall_set_arguments(struct task_struct *task, struct pt_regs *regs,
*
* Returns the AUDIT_ARCH_* based on the system call convention in use.
*
- * It's only valid to call this when @task is stopped on entry to a system
+ * It's only valid to call this when current is stopped on entry to a system
* call, due to %TIF_SYSCALL_TRACE, %TIF_SYSCALL_AUDIT, or %TIF_SECCOMP.
*
* Architectures which permit CONFIG_HAVE_ARCH_SECCOMP_FILTER must