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
5a0fffce
Commit
5a0fffce
authored
Nov 17, 2002
by
Martin Schwidefsky
Committed by
Linus Torvalds
Nov 17, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] s390: system calls.
Add system calls and POLLREMOVE define for eventpoll.
parent
f2f04b19
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
2 deletions
+20
-2
arch/s390/kernel/entry.S
arch/s390/kernel/entry.S
+5
-1
arch/s390x/kernel/entry.S
arch/s390x/kernel/entry.S
+5
-1
include/asm-s390/poll.h
include/asm-s390/poll.h
+1
-0
include/asm-s390/unistd.h
include/asm-s390/unistd.h
+4
-0
include/asm-s390x/poll.h
include/asm-s390x/poll.h
+1
-0
include/asm-s390x/unistd.h
include/asm-s390x/unistd.h
+4
-0
No files found.
arch/s390/kernel/entry.S
View file @
5a0fffce
...
@@ -596,7 +596,11 @@ sys_call_table:
...
@@ -596,7 +596,11 @@ sys_call_table:
.
long
sys_io_submit
.
long
sys_io_submit
.
long
sys_io_cancel
.
long
sys_io_cancel
.
long
sys_exit_group
.
long
sys_exit_group
.
rept
255
-
248
.
long
sys_epoll_create
.
long
sys_epoll_ctl
/*
250
*/
.
long
sys_epoll_wait
.
long
sys_set_tid_address
.
rept
255
-
252
.
long
sys_ni_syscall
.
long
sys_ni_syscall
.
endr
.
endr
...
...
arch/s390x/kernel/entry.S
View file @
5a0fffce
...
@@ -625,7 +625,11 @@ sys_call_table:
...
@@ -625,7 +625,11 @@ sys_call_table:
.
long
SYSCALL
(
sys_io_submit
,
sys_ni_syscall
)
.
long
SYSCALL
(
sys_io_submit
,
sys_ni_syscall
)
.
long
SYSCALL
(
sys_io_cancel
,
sys_ni_syscall
)
.
long
SYSCALL
(
sys_io_cancel
,
sys_ni_syscall
)
.
long
SYSCALL
(
sys_exit_group
,
sys32_exit_group_wrapper
)
.
long
SYSCALL
(
sys_exit_group
,
sys32_exit_group_wrapper
)
.
rept
255
-
248
.
long
SYSCALL
(
sys_epoll_create
,
sys_ni_syscall
)
.
long
SYSCALL
(
sys_epoll_ctl
,
sys_ni_syscall
)
.
long
SYSCALL
(
sys_epoll_wait
,
sys_ni_syscall
)
.
long
SYSCALL
(
sys_set_tid_address
,
sys_ni_syscall
)
.
rept
255
-
252
.
long
SYSCALL
(
sys_ni_syscall
,
sys_ni_syscall
)
.
long
SYSCALL
(
sys_ni_syscall
,
sys_ni_syscall
)
.
endr
.
endr
...
...
include/asm-s390/poll.h
View file @
5a0fffce
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
#define POLLWRNORM 0x0100
#define POLLWRNORM 0x0100
#define POLLWRBAND 0x0200
#define POLLWRBAND 0x0200
#define POLLMSG 0x0400
#define POLLMSG 0x0400
#define POLLREMOVE 0x1000
struct
pollfd
{
struct
pollfd
{
int
fd
;
int
fd
;
...
...
include/asm-s390/unistd.h
View file @
5a0fffce
...
@@ -241,6 +241,10 @@
...
@@ -241,6 +241,10 @@
#define __NR_io_submit 246
#define __NR_io_submit 246
#define __NR_io_cancel 247
#define __NR_io_cancel 247
#define __NR_exit_group 248
#define __NR_exit_group 248
#define __NR_epoll_create 249
#define __NR_epoll_ctl 250
#define __NR_epoll_wait 251
#define __NR_set_tid_address 252
/* user-visible error numbers are in the range -1 - -122: see <asm-s390/errno.h> */
/* user-visible error numbers are in the range -1 - -122: see <asm-s390/errno.h> */
...
...
include/asm-s390x/poll.h
View file @
5a0fffce
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
#define POLLWRNORM 0x0100
#define POLLWRNORM 0x0100
#define POLLWRBAND 0x0200
#define POLLWRBAND 0x0200
#define POLLMSG 0x0400
#define POLLMSG 0x0400
#define POLLREMOVE 0x1000
struct
pollfd
{
struct
pollfd
{
int
fd
;
int
fd
;
...
...
include/asm-s390x/unistd.h
View file @
5a0fffce
...
@@ -208,6 +208,10 @@
...
@@ -208,6 +208,10 @@
#define __NR_io_submit 246
#define __NR_io_submit 246
#define __NR_io_cancel 247
#define __NR_io_cancel 247
#define __NR_exit_group 248
#define __NR_exit_group 248
#define __NR_epoll_create 249
#define __NR_epoll_ctl 250
#define __NR_epoll_wait 251
#define __NR_set_tid_address 252
/* user-visible error numbers are in the range -1 - -122: see <asm-s390/errno.h> */
/* user-visible error numbers are in the range -1 - -122: see <asm-s390/errno.h> */
...
...
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