mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-05 09:14:03 +00:00
Whoops. softclock is called from doreti_swi as well. Abandon call from
hardclock(). Forgot this: Pointed hat sent by: bd
This commit is contained in:
parent
821b78a3f9
commit
eeb355f73f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=32391
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)kern_clock.c 8.5 (Berkeley) 1/21/94
|
||||
* $Id: kern_clock.c,v 1.48 1998/01/07 12:29:17 phk Exp $
|
||||
* $Id: kern_clock.c,v 1.49 1998/01/10 13:16:19 phk Exp $
|
||||
*/
|
||||
|
||||
/* Portions of this software are covered by the following: */
|
||||
@ -628,8 +628,8 @@ hardclock(frame)
|
||||
}
|
||||
CPU_CLOCKUPDATE(&time, &newtime);
|
||||
}
|
||||
|
||||
softclock(frame);
|
||||
|
||||
setsoftclock();
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)kern_clock.c 8.5 (Berkeley) 1/21/94
|
||||
* $Id: kern_clock.c,v 1.48 1998/01/07 12:29:17 phk Exp $
|
||||
* $Id: kern_clock.c,v 1.49 1998/01/10 13:16:19 phk Exp $
|
||||
*/
|
||||
|
||||
/* Portions of this software are covered by the following: */
|
||||
@ -628,8 +628,8 @@ hardclock(frame)
|
||||
}
|
||||
CPU_CLOCKUPDATE(&time, &newtime);
|
||||
}
|
||||
|
||||
softclock(frame);
|
||||
|
||||
setsoftclock();
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)kern_clock.c 8.5 (Berkeley) 1/21/94
|
||||
* $Id: kern_timeout.c,v 1.48 1998/01/07 12:29:17 phk Exp $
|
||||
* $Id: kern_timeout.c,v 1.49 1998/01/10 13:16:26 phk Exp $
|
||||
*/
|
||||
|
||||
/* Portions of this software are covered by the following: */
|
||||
@ -108,8 +108,7 @@ static struct callout *nextsoftcheck; /* Next callout to be checked. */
|
||||
|
||||
/*ARGSUSED*/
|
||||
void
|
||||
softclock(frame)
|
||||
struct clockframe *frame;
|
||||
softclock()
|
||||
{
|
||||
register struct callout *c;
|
||||
register struct callout_tailq *bucket;
|
||||
@ -124,11 +123,6 @@ softclock(frame)
|
||||
softticks++;
|
||||
return;
|
||||
}
|
||||
if (!CLKF_BASEPRI(frame)) {
|
||||
/* Not yet, come back later */
|
||||
setsoftclock();
|
||||
return;
|
||||
}
|
||||
|
||||
(void)splsoftclock();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user