aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/rtprio.h
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>2006-10-26 21:42:22 +0000
committerJohn Birrell <jb@FreeBSD.org>2006-10-26 21:42:22 +0000
commit8460a577a4b4ec185bd813188a5b188893b8c140 (patch)
tree2136d90e7e60f4ef25fe147499787d0e6a155b82 /sys/sys/rtprio.h
parent50159fa2161d549dbe2cb3ff9db1cc3816d48c37 (diff)
downloadsrc-8460a577a4b4ec185bd813188a5b188893b8c140.tar.gz
src-8460a577a4b4ec185bd813188a5b188893b8c140.zip
Make KSE a kernel option, turned on by default in all GENERIC
kernel configs except sun4v (which doesn't process signals properly with KSE). Reviewed by: davidxu@
Notes
Notes: svn path=/head/; revision=163709
Diffstat (limited to 'sys/sys/rtprio.h')
-rw-r--r--sys/sys/rtprio.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/sys/rtprio.h b/sys/sys/rtprio.h
index c450ada1ef98..ba02871e8495 100644
--- a/sys/sys/rtprio.h
+++ b/sys/sys/rtprio.h
@@ -75,9 +75,15 @@ struct rtprio {
};
#ifdef _KERNEL
+#ifdef KSE
struct ksegrp;
int rtp_to_pri(struct rtprio *, struct ksegrp *);
void pri_to_rtp(struct ksegrp *, struct rtprio *);
+#else
+struct thread;
+int rtp_to_pri(struct rtprio *, struct thread *);
+void pri_to_rtp(struct thread *, struct rtprio *);
+#endif
#endif
#endif