diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-10-10 16:11:02 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-10-31 13:18:47 +0100 |
commit | 69b29a0c0d5bfddff5c6723ac80c0f6967550900 (patch) | |
tree | c2b180f3fea5010fbe848bdc9fa359116ef0126b /freebsd/sys/kern/kern_intr.c | |
parent | Use default PID value for all process identifiers (diff) | |
download | rtems-libbsd-69b29a0c0d5bfddff5c6723ac80c0f6967550900.tar.bz2 |
Disable user credentials and use default values
Diffstat (limited to 'freebsd/sys/kern/kern_intr.c')
-rw-r--r-- | freebsd/sys/kern/kern_intr.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/freebsd/sys/kern/kern_intr.c b/freebsd/sys/kern/kern_intr.c index f86fa675..b23ce519 100644 --- a/freebsd/sys/kern/kern_intr.c +++ b/freebsd/sys/kern/kern_intr.c @@ -875,7 +875,9 @@ intr_event_schedule_thread(struct intr_event *ie) struct intr_thread *it; struct thread *td; struct thread *ctd; +#ifndef __rtems__ struct proc *p; +#endif /* __rtems__ */ /* * If no ithread or no handlers, then we have a stray interrupt. @@ -887,7 +889,9 @@ intr_event_schedule_thread(struct intr_event *ie) ctd = curthread; it = ie->ie_thread; td = it->it_thread; +#ifndef __rtems__ p = td->td_proc; +#endif /* __rtems__ */ /* * If any of the handlers for this ithread claim to be good @@ -1040,7 +1044,9 @@ intr_event_schedule_thread(struct intr_event *ie, struct intr_thread *it) struct intr_entropy entropy; struct thread *td; struct thread *ctd; +#ifndef __rtems__ struct proc *p; +#endif /* __rtems__ */ /* * If no ithread or no handlers, then we have a stray interrupt. @@ -1050,7 +1056,9 @@ intr_event_schedule_thread(struct intr_event *ie, struct intr_thread *it) ctd = curthread; td = it->it_thread; +#ifndef __rtems__ p = td->td_proc; +#endif /* __rtems__ */ /* * If any of the handlers for this ithread claim to be good @@ -1341,7 +1349,11 @@ ithread_loop(void *arg) struct proc *p; td = curthread; +#ifndef __rtems__ p = td->td_proc; +#else /* __rtems__ */ + p = NULL; +#endif /* __rtems__ */ ithd = (struct intr_thread *)arg; KASSERT(ithd->it_thread == td, ("%s: ithread and proc linkage out of sync", __func__)); |