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
a54983ae
Commit
a54983ae
authored
Jan 29, 2014
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sparc: Hook up sched_setattr and sched_getattr syscalls.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
1b925b57
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
arch/sparc/include/uapi/asm/unistd.h
arch/sparc/include/uapi/asm/unistd.h
+3
-1
arch/sparc/kernel/systbls_32.S
arch/sparc/kernel/systbls_32.S
+1
-1
arch/sparc/kernel/systbls_64.S
arch/sparc/kernel/systbls_64.S
+2
-2
No files found.
arch/sparc/include/uapi/asm/unistd.h
View file @
a54983ae
...
@@ -408,8 +408,10 @@
...
@@ -408,8 +408,10 @@
#define __NR_kern_features 340
#define __NR_kern_features 340
#define __NR_kcmp 341
#define __NR_kcmp 341
#define __NR_finit_module 342
#define __NR_finit_module 342
#define __NR_sched_setattr 343
#define __NR_sched_getattr 344
#define NR_syscalls 34
3
#define NR_syscalls 34
5
/* Bitmask values returned from kern_features system call. */
/* Bitmask values returned from kern_features system call. */
#define KERN_FEATURE_MIXED_MODE_STACK 0x00000001
#define KERN_FEATURE_MIXED_MODE_STACK 0x00000001
...
...
arch/sparc/kernel/systbls_32.S
View file @
a54983ae
...
@@ -85,4 +85,4 @@ sys_call_table:
...
@@ -85,4 +85,4 @@ sys_call_table:
/*
325
*/
.
long
sys_pwritev
,
sys_rt_tgsigqueueinfo
,
sys_perf_event_open
,
sys_recvmmsg
,
sys_fanotify_init
/*
325
*/
.
long
sys_pwritev
,
sys_rt_tgsigqueueinfo
,
sys_perf_event_open
,
sys_recvmmsg
,
sys_fanotify_init
/*
330
*/
.
long
sys_fanotify_mark
,
sys_prlimit64
,
sys_name_to_handle_at
,
sys_open_by_handle_at
,
sys_clock_adjtime
/*
330
*/
.
long
sys_fanotify_mark
,
sys_prlimit64
,
sys_name_to_handle_at
,
sys_open_by_handle_at
,
sys_clock_adjtime
/*
335
*/
.
long
sys_syncfs
,
sys_sendmmsg
,
sys_setns
,
sys_process_vm_readv
,
sys_process_vm_writev
/*
335
*/
.
long
sys_syncfs
,
sys_sendmmsg
,
sys_setns
,
sys_process_vm_readv
,
sys_process_vm_writev
/*
340
*/
.
long
sys_ni_syscall
,
sys_kcmp
,
sys_finit_module
/*
340
*/
.
long
sys_ni_syscall
,
sys_kcmp
,
sys_finit_module
,
sys_sched_setattr
,
sys_sched_getattr
arch/sparc/kernel/systbls_64.S
View file @
a54983ae
...
@@ -86,7 +86,7 @@ sys_call_table32:
...
@@ -86,7 +86,7 @@ sys_call_table32:
.
word
compat_sys_pwritev
,
compat_sys_rt_tgsigqueueinfo
,
sys_perf_event_open
,
compat_sys_recvmmsg
,
sys_fanotify_init
.
word
compat_sys_pwritev
,
compat_sys_rt_tgsigqueueinfo
,
sys_perf_event_open
,
compat_sys_recvmmsg
,
sys_fanotify_init
/*
330
*/
.
word
compat_sys_fanotify_mark
,
sys_prlimit64
,
sys_name_to_handle_at
,
compat_sys_open_by_handle_at
,
compat_sys_clock_adjtime
/*
330
*/
.
word
compat_sys_fanotify_mark
,
sys_prlimit64
,
sys_name_to_handle_at
,
compat_sys_open_by_handle_at
,
compat_sys_clock_adjtime
.
word
sys_syncfs
,
compat_sys_sendmmsg
,
sys_setns
,
compat_sys_process_vm_readv
,
compat_sys_process_vm_writev
.
word
sys_syncfs
,
compat_sys_sendmmsg
,
sys_setns
,
compat_sys_process_vm_readv
,
compat_sys_process_vm_writev
/*
340
*/
.
word
sys_kern_features
,
sys_kcmp
,
sys_finit_module
/*
340
*/
.
word
sys_kern_features
,
sys_kcmp
,
sys_finit_module
,
sys_sched_setattr
,
sys_sched_getattr
#endif /* CONFIG_COMPAT */
#endif /* CONFIG_COMPAT */
...
@@ -164,4 +164,4 @@ sys_call_table:
...
@@ -164,4 +164,4 @@ sys_call_table:
.
word
sys_pwritev
,
sys_rt_tgsigqueueinfo
,
sys_perf_event_open
,
sys_recvmmsg
,
sys_fanotify_init
.
word
sys_pwritev
,
sys_rt_tgsigqueueinfo
,
sys_perf_event_open
,
sys_recvmmsg
,
sys_fanotify_init
/*
330
*/
.
word
sys_fanotify_mark
,
sys_prlimit64
,
sys_name_to_handle_at
,
sys_open_by_handle_at
,
sys_clock_adjtime
/*
330
*/
.
word
sys_fanotify_mark
,
sys_prlimit64
,
sys_name_to_handle_at
,
sys_open_by_handle_at
,
sys_clock_adjtime
.
word
sys_syncfs
,
sys_sendmmsg
,
sys_setns
,
sys_process_vm_readv
,
sys_process_vm_writev
.
word
sys_syncfs
,
sys_sendmmsg
,
sys_setns
,
sys_process_vm_readv
,
sys_process_vm_writev
/*
340
*/
.
word
sys_kern_features
,
sys_kcmp
,
sys_finit_module
/*
340
*/
.
word
sys_kern_features
,
sys_kcmp
,
sys_finit_module
,
sys_sched_setattr
,
sys_sched_getattr
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