diff options
author | julian <julian@FreeBSD.org> | 2002-05-29 23:44:32 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2002-05-29 23:44:32 +0000 |
commit | 304195369eee5fe75eac0bdc75ac62baadc09987 (patch) | |
tree | 1bf88581a378e6244805a532f43ad6950e1168fc /sys/kern/kern_synch.c | |
parent | 2c79ab496afd9e8e7e378873743f141154fe9bed (diff) | |
download | FreeBSD-src-304195369eee5fe75eac0bdc75ac62baadc09987.zip FreeBSD-src-304195369eee5fe75eac0bdc75ac62baadc09987.tar.gz |
CURSIG() is not a macro so rename it cursig().
Obtained from: KSE tree
Diffstat (limited to 'sys/kern/kern_synch.c')
-rw-r--r-- | sys/kern/kern_synch.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c index eb98bae..1615d57 100644 --- a/sys/kern/kern_synch.c +++ b/sys/kern/kern_synch.c @@ -468,12 +468,12 @@ msleep(ident, mtx, priority, wmesg, timo) callout_reset(&td->td_slpcallout, timo, endtsleep, td); /* * We put ourselves on the sleep queue and start our timeout - * before calling CURSIG, as we could stop there, and a wakeup + * before calling cursig, as we could stop there, and a wakeup * or a SIGCONT (or both) could occur while we were stopped. * A SIGCONT would cause us to be marked as SSLEEP * without resuming us, thus we must be ready for sleep - * when CURSIG is called. If the wakeup happens while we're - * stopped, td->td_wchan will be 0 upon return from CURSIG. + * when cursig is called. If the wakeup happens while we're + * stopped, td->td_wchan will be 0 upon return from cursig. */ if (catch) { CTR3(KTR_PROC, "msleep caught: proc %p (pid %d, %s)", p, @@ -481,7 +481,7 @@ msleep(ident, mtx, priority, wmesg, timo) td->td_flags |= TDF_SINTR; mtx_unlock_spin(&sched_lock); PROC_LOCK(p); - sig = CURSIG(p); + sig = cursig(p); mtx_lock_spin(&sched_lock); PROC_UNLOCK(p); if (sig != 0) { @@ -524,8 +524,8 @@ msleep(ident, mtx, priority, wmesg, timo) if (rval == 0 && catch) { PROC_LOCK(p); - /* XXX: shouldn't we always be calling CURSIG() */ - if (sig != 0 || (sig = CURSIG(p))) { + /* XXX: shouldn't we always be calling cursig() */ + if (sig != 0 || (sig = cursig(p))) { if (SIGISMEMBER(p->p_sigacts->ps_sigintr, sig)) rval = EINTR; else |