Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
bf79d5d0
Commit
bf79d5d0
authored
Dec 07, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: Add sys_restart_syscall entries.
parent
a3a543a5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
3 deletions
+5
-3
arch/sparc/kernel/systbls.S
arch/sparc/kernel/systbls.S
+1
-1
arch/sparc64/kernel/systbls.S
arch/sparc64/kernel/systbls.S
+2
-2
include/asm-sparc/unistd.h
include/asm-sparc/unistd.h
+1
-0
include/asm-sparc64/unistd.h
include/asm-sparc64/unistd.h
+1
-0
No files found.
arch/sparc/kernel/systbls.S
View file @
bf79d5d0
...
@@ -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
...
...
arch/sparc64/kernel/systbls.S
View file @
bf79d5d0
...
@@ -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
...
...
include/asm-sparc/unistd.h
View file @
bf79d5d0
...
@@ -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 */
...
...
include/asm-sparc64/unistd.h
View file @
bf79d5d0
...
@@ -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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment