mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-30 13:44:55 +00:00
changed expect_lock() to try_lock(), the real name used in mplock.s
This commit is contained in:
parent
0f4b7baa2d
commit
dff5c18abc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25320
|
@ -6,7 +6,7 @@
|
||||||
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
|
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
* $Id: smp.h,v 1.1 1997/04/26 11:45:44 peter Exp $
|
* $Id: smp.h,v 1.2 1997/04/28 00:25:00 fsmp Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ extern u_int mp_lock;
|
||||||
/* functions in mplock.s */
|
/* functions in mplock.s */
|
||||||
void get_mplock __P((void));
|
void get_mplock __P((void));
|
||||||
void rel_mplock __P((void));
|
void rel_mplock __P((void));
|
||||||
void expect_mplock __P((void));
|
void try_mplock __P((void));
|
||||||
|
|
||||||
/* global data in mp_machdep.c */
|
/* global data in mp_machdep.c */
|
||||||
extern struct proc* SMPcurproc[NCPU];
|
extern struct proc* SMPcurproc[NCPU];
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
|
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
* $Id: smp.h,v 1.1 1997/04/26 11:45:44 peter Exp $
|
* $Id: smp.h,v 1.2 1997/04/28 00:25:00 fsmp Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ extern u_int mp_lock;
|
||||||
/* functions in mplock.s */
|
/* functions in mplock.s */
|
||||||
void get_mplock __P((void));
|
void get_mplock __P((void));
|
||||||
void rel_mplock __P((void));
|
void rel_mplock __P((void));
|
||||||
void expect_mplock __P((void));
|
void try_mplock __P((void));
|
||||||
|
|
||||||
/* global data in mp_machdep.c */
|
/* global data in mp_machdep.c */
|
||||||
extern struct proc* SMPcurproc[NCPU];
|
extern struct proc* SMPcurproc[NCPU];
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
|
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
* $Id: smp.h,v 1.1 1997/04/26 11:45:44 peter Exp $
|
* $Id: smp.h,v 1.2 1997/04/28 00:25:00 fsmp Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ extern u_int mp_lock;
|
||||||
/* functions in mplock.s */
|
/* functions in mplock.s */
|
||||||
void get_mplock __P((void));
|
void get_mplock __P((void));
|
||||||
void rel_mplock __P((void));
|
void rel_mplock __P((void));
|
||||||
void expect_mplock __P((void));
|
void try_mplock __P((void));
|
||||||
|
|
||||||
/* global data in mp_machdep.c */
|
/* global data in mp_machdep.c */
|
||||||
extern struct proc* SMPcurproc[NCPU];
|
extern struct proc* SMPcurproc[NCPU];
|
||||||
|
|
Loading…
Reference in a new issue