Date: Fri, 14 Jul 2006 10:04:40 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 101533 for review Message-ID: <200607141004.k6EA4eoL062040@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=101533 Change 101533 by jb@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 }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607141004.k6EA4eoL062040>