projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
syscall_get_arch: add "struct task_struct *" argument
[linux-block.git]
/
arch
/
riscv
/
include
/
asm
/
syscall.h
diff --git
a/arch/riscv/include/asm/syscall.h
b/arch/riscv/include/asm/syscall.h
index bba3da6ef1572f41db64e59ca203ae32b9139180..ca120a36a037a2b99fa200dd23ad9e58699bb1e5 100644
(file)
--- a/
arch/riscv/include/asm/syscall.h
+++ b/
arch/riscv/include/asm/syscall.h
@@
-100,7
+100,7
@@
static inline void syscall_set_arguments(struct task_struct *task,
memcpy(®s->a1 + i * sizeof(regs->a1), args, n * sizeof(regs->a0));
}
-static inline int syscall_get_arch(
void
)
+static inline int syscall_get_arch(
struct task_struct *task
)
{
#ifdef CONFIG_64BIT
return AUDIT_ARCH_RISCV64;