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
nexedi
linux
Commits
47514da3
Commit
47514da3
authored
Mar 15, 2015
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: Add compile-time check when adding new syscalls
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
bc465aa9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
arch/parisc/kernel/syscall_table.S
arch/parisc/kernel/syscall_table.S
+6
-3
No files found.
arch/parisc/kernel/syscall_table.S
View file @
47514da3
...
...
@@ -55,8 +55,8 @@
#define ENTRY_COMP(_name_) .word sys_##_name_
#endif
ENTRY_SAME
(
restart_syscall
)
/*
0
*/
ENTRY_SAME
(
exit
)
90
:
ENTRY_SAME
(
restart_syscall
)
/*
0
*/
91
:
ENTRY_SAME
(
exit
)
ENTRY_SAME
(
fork_wrapper
)
ENTRY_SAME
(
read
)
ENTRY_SAME
(
write
)
...
...
@@ -439,7 +439,10 @@
ENTRY_SAME
(
bpf
)
ENTRY_COMP
(
execveat
)
/
*
Nothing
yet
*/
.
ifne
(.
-
90
b
)
-
(
__NR_Linux_syscalls
*
(
91
b
-
90
b
))
.
error
"
size
of
syscall
table
does
not
fit
value
of
__NR_Linux_syscalls
"
.
endif
#undef ENTRY_SAME
#undef ENTRY_DIFF
...
...
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