diff options
author | Richard Weinberger <richard@nod.at> | 2015-10-25 21:54:33 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-11-07 00:49:09 +0300 |
commit | 1d80f0cda10118d7505bd0a09a5c1c72f3a5f6c8 (patch) | |
tree | af1013ab500f852040bfe4ac4f579584e54650ac /arch/um/include/shared/os.h | |
parent | 44011b897adf4be7a5bd7f2baf2ffec9cd87ec74 (diff) | |
download | linux-1d80f0cda10118d7505bd0a09a5c1c72f3a5f6c8.tar.xz |
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/os.h')
-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 ad3fa3ae6d34..f3cbaef20e04 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); |