Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Richard Guy Briggs and committed by
Eric Paris
1002d94d 7e51aa44

+1 -1
+1 -1
include/asm-generic/syscall.h
··· 147 147 * 148 148 * Returns the AUDIT_ARCH_* based on the system call convention in use. 149 149 * 150 - * It's only valid to call this when @task is stopped on entry to a system 150 + * It's only valid to call this when current is stopped on entry to a system 151 151 * call, due to %TIF_SYSCALL_TRACE, %TIF_SYSCALL_AUDIT, or %TIF_SECCOMP. 152 152 * 153 153 * Architectures which permit CONFIG_HAVE_ARCH_SECCOMP_FILTER must