1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +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:
Poul-Henning Kamp 1998-01-10 14:55:14 +00:00
parent 821b78a3f9
commit eeb355f73f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=32391
3 changed files with 8 additions and 14 deletions

View File

@ -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

View File

@ -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

View File

@ -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();