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
353b28ba
Commit
353b28ba
authored
May 21, 2006
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: Add robust futex syscall entries.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
9a2a9bb2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
10 deletions
+17
-10
arch/sparc/kernel/systbls.S
arch/sparc/kernel/systbls.S
+2
-1
arch/sparc64/kernel/systbls.S
arch/sparc64/kernel/systbls.S
+5
-3
include/asm-sparc/unistd.h
include/asm-sparc/unistd.h
+5
-3
include/asm-sparc64/unistd.h
include/asm-sparc64/unistd.h
+5
-3
No files found.
arch/sparc/kernel/systbls.S
View file @
353b28ba
...
@@ -79,6 +79,7 @@ sys_call_table:
...
@@ -79,6 +79,7 @@ sys_call_table:
/*
285
*/
.
long
sys_mkdirat
,
sys_mknodat
,
sys_fchownat
,
sys_futimesat
,
sys_fstatat64
/*
285
*/
.
long
sys_mkdirat
,
sys_mknodat
,
sys_fchownat
,
sys_futimesat
,
sys_fstatat64
/*
290
*/
.
long
sys_unlinkat
,
sys_renameat
,
sys_linkat
,
sys_symlinkat
,
sys_readlinkat
/*
290
*/
.
long
sys_unlinkat
,
sys_renameat
,
sys_linkat
,
sys_symlinkat
,
sys_readlinkat
/*
295
*/
.
long
sys_fchmodat
,
sys_faccessat
,
sys_pselect6
,
sys_ppoll
,
sys_unshare
/*
295
*/
.
long
sys_fchmodat
,
sys_faccessat
,
sys_pselect6
,
sys_ppoll
,
sys_unshare
/*
300
*/
.
long
sys_set_robust_list
,
sys_get_robust_list
#ifdef CONFIG_SUNOS_EMUL
#ifdef CONFIG_SUNOS_EMUL
/
*
Now
the
SunOS
syscall
table
.
*/
/
*
Now
the
SunOS
syscall
table
.
*/
...
@@ -190,6 +191,6 @@ sunos_sys_table:
...
@@ -190,6 +191,6 @@ sunos_sys_table:
/*
290
*/
.
long
sunos_nosys
,
sunos_nosys
,
sunos_nosys
/*
290
*/
.
long
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
long
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
long
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
long
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
long
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
long
sunos_nosys
.
long
sunos_nosys
,
sunos_nosys
,
sunos_nosys
#endif
#endif
arch/sparc64/kernel/systbls.S
View file @
353b28ba
...
@@ -78,8 +78,9 @@ sys_call_table32:
...
@@ -78,8 +78,9 @@ sys_call_table32:
.
word
compat_sys_mq_timedsend
,
compat_sys_mq_timedreceive
,
compat_sys_mq_notify
,
compat_sys_mq_getsetattr
,
compat_sys_waitid
.
word
compat_sys_mq_timedsend
,
compat_sys_mq_timedreceive
,
compat_sys_mq_notify
,
compat_sys_mq_getsetattr
,
compat_sys_waitid
/*
280
*/
.
word
sys32_tee
,
sys_add_key
,
sys_request_key
,
sys_keyctl
,
compat_sys_openat
/*
280
*/
.
word
sys32_tee
,
sys_add_key
,
sys_request_key
,
sys_keyctl
,
compat_sys_openat
.
word
sys_mkdirat
,
sys_mknodat
,
sys_fchownat
,
compat_sys_futimesat
,
compat_sys_fstatat64
.
word
sys_mkdirat
,
sys_mknodat
,
sys_fchownat
,
compat_sys_futimesat
,
compat_sys_fstatat64
/*
2
85
*/
.
word
sys_unlinkat
,
sys_renameat
,
sys_linkat
,
sys_symlinkat
,
sys_readlinkat
/*
2
90
*/
.
word
sys_unlinkat
,
sys_renameat
,
sys_linkat
,
sys_symlinkat
,
sys_readlinkat
.
word
sys_fchmodat
,
sys_faccessat
,
compat_sys_pselect6
,
compat_sys_ppoll
,
sys_unshare
.
word
sys_fchmodat
,
sys_faccessat
,
compat_sys_pselect6
,
compat_sys_ppoll
,
sys_unshare
/*
300
*/
.
word
compat_sys_set_robust_list
,
compat_sys_get_robust_list
#endif /* CONFIG_COMPAT */
#endif /* CONFIG_COMPAT */
...
@@ -147,8 +148,9 @@ sys_call_table:
...
@@ -147,8 +148,9 @@ sys_call_table:
.
word
sys_mq_timedsend
,
sys_mq_timedreceive
,
sys_mq_notify
,
sys_mq_getsetattr
,
sys_waitid
.
word
sys_mq_timedsend
,
sys_mq_timedreceive
,
sys_mq_notify
,
sys_mq_getsetattr
,
sys_waitid
/*
280
*/
.
word
sys_tee
,
sys_add_key
,
sys_request_key
,
sys_keyctl
,
sys_openat
/*
280
*/
.
word
sys_tee
,
sys_add_key
,
sys_request_key
,
sys_keyctl
,
sys_openat
.
word
sys_mkdirat
,
sys_mknodat
,
sys_fchownat
,
sys_futimesat
,
sys_fstatat64
.
word
sys_mkdirat
,
sys_mknodat
,
sys_fchownat
,
sys_futimesat
,
sys_fstatat64
/*
2
85
*/
.
word
sys_unlinkat
,
sys_renameat
,
sys_linkat
,
sys_symlinkat
,
sys_readlinkat
/*
2
90
*/
.
word
sys_unlinkat
,
sys_renameat
,
sys_linkat
,
sys_symlinkat
,
sys_readlinkat
.
word
sys_fchmodat
,
sys_faccessat
,
sys_pselect6
,
sys_ppoll
,
sys_unshare
.
word
sys_fchmodat
,
sys_faccessat
,
sys_pselect6
,
sys_ppoll
,
sys_unshare
/*
300
*/
.
word
sys_set_robust_list
,
sys_get_robust_list
#if defined(CONFIG_SUNOS_EMUL) || defined(CONFIG_SOLARIS_EMUL) || \
#if defined(CONFIG_SUNOS_EMUL) || defined(CONFIG_SOLARIS_EMUL) || \
defined
(
CONFIG_SOLARIS_EMUL_MODULE
)
defined
(
CONFIG_SOLARIS_EMUL_MODULE
)
...
@@ -261,5 +263,5 @@ sunos_sys_table:
...
@@ -261,5 +263,5 @@ sunos_sys_table:
/*
290
*/
.
word
sunos_nosys
,
sunos_nosys
,
sunos_nosys
/*
290
*/
.
word
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
word
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
word
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
word
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
word
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
word
sunos_nosys
.
word
sunos_nosys
,
sunos_nosys
,
sunos_nosys
#endif
#endif
include/asm-sparc/unistd.h
View file @
353b28ba
...
@@ -316,11 +316,13 @@
...
@@ -316,11 +316,13 @@
#define __NR_pselect6 297
#define __NR_pselect6 297
#define __NR_ppoll 298
#define __NR_ppoll 298
#define __NR_unshare 299
#define __NR_unshare 299
#define __NR_set_robust_list 300
#define __NR_get_robust_list 301
/* WARNING: You MAY NOT add syscall numbers larger than
299
, since
/* WARNING: You MAY NOT add syscall numbers larger than
301
, since
* all of the syscall tables in the Sparc kernel are
* all of the syscall tables in the Sparc kernel are
* sized to have
299
entries (starting at zero). Therefore
* sized to have
301
entries (starting at zero). Therefore
* find a free slot in the 0-
299
range.
* find a free slot in the 0-
301
range.
*/
*/
#define _syscall0(type,name) \
#define _syscall0(type,name) \
...
...
include/asm-sparc64/unistd.h
View file @
353b28ba
...
@@ -318,11 +318,13 @@
...
@@ -318,11 +318,13 @@
#define __NR_pselect6 297
#define __NR_pselect6 297
#define __NR_ppoll 298
#define __NR_ppoll 298
#define __NR_unshare 299
#define __NR_unshare 299
#define __NR_set_robust_list 300
#define __NR_get_robust_list 301
/* WARNING: You MAY NOT add syscall numbers larger than
299
, since
/* WARNING: You MAY NOT add syscall numbers larger than
301
, since
* all of the syscall tables in the Sparc kernel are
* all of the syscall tables in the Sparc kernel are
* sized to have
299
entries (starting at zero). Therefore
* sized to have
301
entries (starting at zero). Therefore
* find a free slot in the 0-
299
range.
* find a free slot in the 0-
301
range.
*/
*/
#define _syscall0(type,name) \
#define _syscall0(type,name) \
...
...
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