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
302be020
Commit
302be020
authored
Apr 14, 2004
by
Andrew Morton
Committed by
Linus Torvalds
Apr 14, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Add mqueue support to x86-64
From: Andi Kleen <ak@suse.de> Add POSIX mqueue support to x86-64.
parent
2df2c24a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
5 deletions
+43
-5
arch/x86_64/ia32/ia32entry.S
arch/x86_64/ia32/ia32entry.S
+10
-0
include/asm-x86_64/ia32_unistd.h
include/asm-x86_64/ia32_unistd.h
+11
-1
include/asm-x86_64/unistd.h
include/asm-x86_64/unistd.h
+22
-4
No files found.
arch/x86_64/ia32/ia32entry.S
View file @
302be020
...
...
@@ -578,6 +578,16 @@ ia32_sys_call_table:
.
quad
sys_tgkill
.
quad
compat_sys_utimes
.
quad
sys32_fadvise64_64
.
quad
sys_ni_syscall
/*
sys_vserver
*/
.
quad
sys_ni_syscall
/*
sys_mbind
*/
.
quad
sys_ni_syscall
/*
275
sys_get_mempolicy
*/
.
quad
sys_ni_syscall
/*
sys_set_mempolicy
*/
.
quad
compat_sys_mq_open
.
quad
sys_mq_unlink
.
quad
compat_sys_mq_timedsend
.
quad
compat_sys_mq_timedreceive
/*
280
*/
.
quad
compat_sys_mq_notify
.
quad
compat_sys_mq_getsetattr
/
*
don
't forget to change IA32_NR_syscalls */
ia32_syscall_end
:
.
rept
IA32_NR_syscalls
-(
ia32_syscall_end
-
ia32_sys_call_table
)/
8
...
...
include/asm-x86_64/ia32_unistd.h
View file @
302be020
...
...
@@ -278,7 +278,17 @@
#define __NR_ia32_tgkill 270
#define __NR_ia32_utimes 271
#define __NR_ia32_fadvise64_64 272
#define __NR_ia32_vserver 273
#define __NR_ia32_mbind 274
#define __NR_ia32_get_mempolicy 275
#define __NR_ia32_set_mempolicy 276
#define __NR_ia32_mq_open 277
#define __NR_ia32_mq_unlink (__NR_ia32_mq_open+1)
#define __NR_ia32_mq_timedsend (__NR_ia32_mq_open+2)
#define __NR_ia32_mq_timedreceive (__NR_ia32_mq_open+3)
#define __NR_ia32_mq_notify (__NR_ia32_mq_open+4)
#define __NR_ia32_mq_getsetattr (__NR_ia32_mq_open+5)
#define IA32_NR_syscalls 2
75
/* must be > than biggest syscall! */
#define IA32_NR_syscalls 2
85
/* must be > than biggest syscall! */
#endif
/* _ASM_X86_64_IA32_UNISTD_H_ */
include/asm-x86_64/unistd.h
View file @
302be020
...
...
@@ -532,10 +532,28 @@ __SYSCALL(__NR_tgkill, sys_tgkill)
__SYSCALL
(
__NR_utimes
,
sys_utimes
)
#define __NR_vserver 236
__SYSCALL
(
__NR_vserver
,
sys_ni_syscall
)
/* 237,238,239 reserved for NUMA API */
#define __NR_syscall_max __NR_vserver
#define __NR_vserver 236
__SYSCALL
(
__NR_vserver
,
sys_ni_syscall
)
#define __NR_mbind 237
__SYSCALL
(
__NR_mbind
,
sys_ni_syscall
)
#define __NR_set_mempolicy 238
__SYSCALL
(
__NR_set_mempolicy
,
sys_ni_syscall
)
#define __NR_get_mempolicy 239
__SYSCALL
(
__NR_get_mempolicy
,
sys_ni_syscall
)
#define __NR_mq_open 240
__SYSCALL
(
__NR_mq_open
,
sys_mq_open
)
#define __NR_mq_unlink 241
__SYSCALL
(
__NR_mq_unlink
,
sys_mq_unlink
)
#define __NR_mq_timedsend 242
__SYSCALL
(
__NR_mq_timedsend
,
sys_mq_timedsend
)
#define __NR_mq_timedreceive 243
__SYSCALL
(
__NR_mq_timedreceive
,
sys_mq_timedreceive
)
#define __NR_mq_notify 244
__SYSCALL
(
__NR_mq_notify
,
sys_mq_notify
)
#define __NR_mq_getsetattr 245
__SYSCALL
(
__NR_mq_getsetattr
,
sys_mq_getsetattr
)
#define __NR_syscall_max __NR_mq_getsetattr
#ifndef __NO_STUBS
/* user-visible error numbers are in the range -1 - -4095 */
...
...
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