]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
syscall.h: fix doc text for syscall_get_arch()
authorRichard Guy Briggs <rgb@redhat.com>
Fri, 28 Feb 2014 20:34:19 +0000 (15:34 -0500)
committerEric Paris <eparis@redhat.com>
Tue, 23 Sep 2014 20:20:00 +0000 (16:20 -0400)
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>
include/asm-generic/syscall.h

index d401e5463fb02daae31c1ad34013c1690937cbda..0c938a4354f6f58f67e0bb3555dca24460afadb7 100644 (file)
@@ -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