diff options
author | luigi <luigi@FreeBSD.org> | 2002-02-15 02:50:07 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2002-02-15 02:50:07 +0000 |
commit | 8129d9e35513bfd2499e8dbda74feb1398fd0cb7 (patch) | |
tree | 6952900e91ffcedb19f4530ed7d64397a523fb9d /sys/kern/kern_poll.c | |
parent | b51de6d89b11ea94b0ed8b26819a96294e14da08 (diff) | |
download | FreeBSD-src-8129d9e35513bfd2499e8dbda74feb1398fd0cb7.zip FreeBSD-src-8129d9e35513bfd2499e8dbda74feb1398fd0cb7.tar.gz |
Make this compile after changes to kse structures.
This escaped because DEVICE_POLLING is disabled in LINT being
not compatible with SMP. In fact, it is only a runtime problem,
so if we could recognize that we are building a LINT kernel
we could as well disable the check for SMP being defined.
Reported-by: Joe Clarke
Diffstat (limited to 'sys/kern/kern_poll.c')
-rw-r--r-- | sys/kern/kern_poll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_poll.c b/sys/kern/kern_poll.c index 8737672..3fc4930 100644 --- a/sys/kern/kern_poll.c +++ b/sys/kern/kern_poll.c @@ -482,7 +482,7 @@ poll_idle(void) rtp.prio = RTP_PRIO_MAX; /* lowest priority */ rtp.type = RTP_PRIO_IDLE; mtx_lock_spin(&sched_lock); - rtp_to_pri(&rtp, &td->td_ksegrp->kg_pri); + rtp_to_pri(&rtp, td->td_ksegrp); pri = td->td_priority; mtx_unlock_spin(&sched_lock); |