diff options
author | Richard Weinberger <richard@nod.at> | 2015-10-25 19:54:33 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-11-06 22:49:09 +0100 |
commit | 1d80f0cda10118d7505bd0a09a5c1c72f3a5f6c8 (patch) | |
tree | af1013ab500f852040bfe4ac4f579584e54650ac /arch/um/include/shared | |
parent | 44011b897adf4be7a5bd7f2baf2ffec9cd87ec74 (diff) | |
download | op-kernel-dev-1d80f0cda10118d7505bd0a09a5c1c72f3a5f6c8.zip op-kernel-dev-1d80f0cda10118d7505bd0a09a5c1c72f3a5f6c8.tar.gz |
um: Store syscall number after syscall_trace_enter()
To support changing syscall numbers we have to store
it after syscall_trace_enter().
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/include/shared')
-rw-r--r-- | arch/um/include/shared/os.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/include/shared/os.h b/arch/um/include/shared/os.h index ad3fa3a..f3cbaef 100644 --- a/arch/um/include/shared/os.h +++ b/arch/um/include/shared/os.h @@ -274,6 +274,7 @@ extern void initial_thread_cb_skas(void (*proc)(void *), void *arg); extern void halt_skas(void); extern void reboot_skas(void); +extern int get_syscall(struct uml_pt_regs *regs); /* irq.c */ extern int os_waiting_for_events(struct irq_fd *active_fds); |