PERFORCE change 101533 for review
John Birrell
jb at FreeBSD.org
Fri Jul 14 10:04:42 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=101533
Change 101533 by jb at jb_freebsd2 on 2006/07/14 10:04:38
Comment out KSE-specific code in the new syscalls. Sigh.
Affected files ...
.. //depot/projects/dtrace/src/sys/kern/kern_thr.c#7 edit
Differences ...
==== //depot/projects/dtrace/src/sys/kern/kern_thr.c#7 (text+ko) ====
@@ -449,6 +449,7 @@
int
thr_setscheduler(struct thread *td, struct thr_setscheduler_args *uap)
{
+#ifdef DOODAD
struct proc *p;
struct thread *ttd;
struct rtprio rtp;
@@ -505,11 +506,15 @@
mtx_unlock_spin(&sched_lock);
PROC_UNLOCK(p);
return (ret);
+#else
+ return(0);
+#endif
}
int
thr_getscheduler(struct thread *td, struct thr_getscheduler_args *uap)
{
+#ifdef DOODAD
struct proc *p;
struct thread *ttd;
struct rtprio rtp;
@@ -550,11 +555,15 @@
if (ret == 0)
ret = copyout(¶m, uap->param, sizeof(param));
return (ret);
+#else
+ return (0);
+#endif
}
int
thr_setschedparam(struct thread *td, struct thr_setschedparam_args *uap)
{
+#ifdef DOODAD
struct proc *p;
struct thread *ttd;
struct rtprio rtp;
@@ -595,4 +604,7 @@
mtx_unlock_spin(&sched_lock);
PROC_UNLOCK(p);
return (ret);
+#else
+ return (0);
+#endif
}
More information about the p4-projects
mailing list