mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Add missing CLOCK_UNLOCK() before write_eflags().
Submitted by: dave adkins <adkin003@tc.umn.edu>
This commit is contained in:
parent
f33641f799
commit
6bf2dcfc50
5 changed files with 10 additions and 5 deletions
|
|
@ -34,7 +34,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
|
||||
* $Id: clock.c,v 1.110 1998/02/13 06:33:16 bde Exp $
|
||||
* $Id: clock.c,v 1.111 1998/02/20 16:35:37 phk Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
@ -1070,6 +1070,7 @@ i8254_get_timecount(void)
|
|||
|
||||
i8254_lastcount = count;
|
||||
count += i8254_offset;
|
||||
CLOCK_UNLOCK();
|
||||
write_eflags(ef);
|
||||
return (count);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
|
||||
* $Id: clock.c,v 1.110 1998/02/13 06:33:16 bde Exp $
|
||||
* $Id: clock.c,v 1.111 1998/02/20 16:35:37 phk Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
@ -1070,6 +1070,7 @@ i8254_get_timecount(void)
|
|||
|
||||
i8254_lastcount = count;
|
||||
count += i8254_offset;
|
||||
CLOCK_UNLOCK();
|
||||
write_eflags(ef);
|
||||
return (count);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
|
||||
* $Id: clock.c,v 1.110 1998/02/13 06:33:16 bde Exp $
|
||||
* $Id: clock.c,v 1.111 1998/02/20 16:35:37 phk Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
@ -1070,6 +1070,7 @@ i8254_get_timecount(void)
|
|||
|
||||
i8254_lastcount = count;
|
||||
count += i8254_offset;
|
||||
CLOCK_UNLOCK();
|
||||
write_eflags(ef);
|
||||
return (count);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
|
||||
* $Id: clock.c,v 1.110 1998/02/13 06:33:16 bde Exp $
|
||||
* $Id: clock.c,v 1.111 1998/02/20 16:35:37 phk Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
@ -1070,6 +1070,7 @@ i8254_get_timecount(void)
|
|||
|
||||
i8254_lastcount = count;
|
||||
count += i8254_offset;
|
||||
CLOCK_UNLOCK();
|
||||
write_eflags(ef);
|
||||
return (count);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
|
||||
* $Id: clock.c,v 1.110 1998/02/13 06:33:16 bde Exp $
|
||||
* $Id: clock.c,v 1.111 1998/02/20 16:35:37 phk Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
@ -1070,6 +1070,7 @@ i8254_get_timecount(void)
|
|||
|
||||
i8254_lastcount = count;
|
||||
count += i8254_offset;
|
||||
CLOCK_UNLOCK();
|
||||
write_eflags(ef);
|
||||
return (count);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue