* linux/dummy.h (sys_sched_rr_get_interval): Remove.
* linux/syscall.h (sys_sched_rr_get_interval): New prototype.
* process.c (sys_sched_rr_get_interval): New function.
#define sys_prlimit64 printargs
#define sys_request_key printargs
#define sys_rt_tgsigqueueinfo printargs
-#define sys_sched_rr_get_interval printargs
#define sys_sendmmsg printargs
#define sys_sync_file_range printargs
#define sys_sysfs printargs
int sys_sched_getaffinity();
int sys_sched_getparam();
int sys_sched_getscheduler();
+int sys_sched_rr_get_interval();
int sys_sched_setaffinity();
int sys_sched_setparam();
int sys_sched_setscheduler();
return 0;
}
+int
+sys_sched_rr_get_interval(struct tcb *tcp)
+{
+ if (entering(tcp)) {
+ tprintf("%ld, ", (long) (pid_t) tcp->u_arg[0]);
+ } else {
+ if (syserror(tcp))
+ tprintf("%#lx", tcp->u_arg[1]);
+ else
+ print_timespec(tcp, tcp->u_arg[1]);
+ }
+ return 0;
+}
+
# ifdef X86_64
# include <asm/prctl.h>