Commit bf79d5d0 authored by David S. Miller's avatar David S. Miller

[SPARC]: Add sys_restart_syscall entries.

parent a3a543a5
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
.globl sys_call_table .globl sys_call_table
sys_call_table: sys_call_table:
/*0*/ .long sys_nis_syscall, sys_exit, sys_fork, sys_read, sys_write /*0*/ .long sys_restart_syscall, sys_exit, sys_fork, sys_read, sys_write
/*5*/ .long sys_open, sys_close, sys_wait4, sys_creat, sys_link /*5*/ .long sys_open, sys_close, sys_wait4, sys_creat, sys_link
/*10*/ .long sys_unlink, sunos_execv, sys_chdir, sys_chown16, sys_mknod /*10*/ .long sys_unlink, sunos_execv, sys_chdir, sys_chown16, sys_mknod
/*15*/ .long sys_chmod, sys_lchown16, sparc_brk, sys_nis_syscall, sys_lseek /*15*/ .long sys_chmod, sys_lchown16, sparc_brk, sys_nis_syscall, sys_lseek
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
.globl sys_call_table32 .globl sys_call_table32
sys_call_table32: sys_call_table32:
/*0*/ .word sys_nis_syscall, sparc_exit, sys_fork, sys_read, sys_write /*0*/ .word sys_restart_syscall, sparc_exit, sys_fork, sys_read, sys_write
/*5*/ .word sparc32_open, sys_close, sys32_wait4, sys_creat, sys_link /*5*/ .word sparc32_open, sys_close, sys32_wait4, sys_creat, sys_link
/*10*/ .word sys_unlink, sunos_execv, sys_chdir, sys32_chown16, sys32_mknod /*10*/ .word sys_unlink, sunos_execv, sys_chdir, sys32_chown16, sys32_mknod
/*15*/ .word sys32_chmod, sys32_lchown16, sparc_brk, sys_perfctr, sys32_lseek /*15*/ .word sys32_chmod, sys32_lchown16, sparc_brk, sys_perfctr, sys32_lseek
...@@ -78,7 +78,7 @@ sys_call_table32: ...@@ -78,7 +78,7 @@ sys_call_table32:
.globl sys_call_table64, sys_call_table .globl sys_call_table64, sys_call_table
sys_call_table64: sys_call_table64:
sys_call_table: sys_call_table:
/*0*/ .word sys_nis_syscall, sparc_exit, sys_fork, sys_read, sys_write /*0*/ .word sys_restart_syscall, sparc_exit, sys_fork, sys_read, sys_write
/*5*/ .word sys_open, sys_close, sys_wait4, sys_creat, sys_link /*5*/ .word sys_open, sys_close, sys_wait4, sys_creat, sys_link
/*10*/ .word sys_unlink, sunos_execv, sys_chdir, sys_chown, sys_mknod /*10*/ .word sys_unlink, sunos_execv, sys_chdir, sys_chown, sys_mknod
/*15*/ .word sys_chmod, sys_lchown, sparc_brk, sys_perfctr, sys_lseek /*15*/ .word sys_chmod, sys_lchown, sparc_brk, sys_perfctr, sys_lseek
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
* Copyright (C) 1995 Adrian M. Rodriguez (adrian@remus.rutgers.edu) * Copyright (C) 1995 Adrian M. Rodriguez (adrian@remus.rutgers.edu)
*/ */
#define __NR_restart_syscall 0 /* Linux Specific */
#define __NR_exit 1 /* Common */ #define __NR_exit 1 /* Common */
#define __NR_fork 2 /* Common */ #define __NR_fork 2 /* Common */
#define __NR_read 3 /* Common */ #define __NR_read 3 /* Common */
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
* Copyright (C) 1995 Adrian M. Rodriguez (adrian@remus.rutgers.edu) * Copyright (C) 1995 Adrian M. Rodriguez (adrian@remus.rutgers.edu)
*/ */
#define __NR_restart_syscall 0 /* Linux Specific */
#define __NR_exit 1 /* Common */ #define __NR_exit 1 /* Common */
#define __NR_fork 2 /* Common */ #define __NR_fork 2 /* Common */
#define __NR_read 3 /* Common */ #define __NR_read 3 /* Common */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment