1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-29 16:44:03 +00:00

- machine/mutex.h -> sys/mutex.h

- Catch up to the MI mutex structure due to saveflags,saveipl,savepsr
  becoming saveintr.
This commit is contained in:
John Baldwin 2000-10-20 07:38:44 +00:00
parent 557b927eca
commit bce7f05af8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67358
5 changed files with 9 additions and 9 deletions

View File

@ -48,6 +48,7 @@
#include <sys/errno.h>
#include <sys/proc.h>
#include <sys/mount.h>
#include <sys/mutex.h>
#include <sys/socket.h>
#include <sys/resource.h>
#include <sys/resourcevar.h>
@ -55,7 +56,6 @@
#include <machine/frame.h>
#include <machine/chipset.h>
#include <machine/globaldata.h>
#include <machine/mutex.h>
#include <sys/vmmeter.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
@ -79,7 +79,7 @@ ASSYM(GD_ASTPENDING, offsetof(struct globaldata, gd_astpending));
ASSYM(MTX_LOCK, offsetof(struct mtx, mtx_lock));
ASSYM(MTX_RECURSE, offsetof(struct mtx, mtx_recurse));
ASSYM(MTX_SAVEIPL, offsetof(struct mtx, mtx_saveipl));
ASSYM(MTX_SAVEINTR, offsetof(struct mtx, mtx_saveintr));
ASSYM(MTX_UNOWNED, MTX_UNOWNED);
ASSYM(P_ADDR, offsetof(struct proc, p_addr));

View File

@ -49,6 +49,7 @@
#include <sys/proc.h>
#include <sys/errno.h>
#include <sys/mount.h>
#include <sys/mutex.h>
#include <sys/socket.h>
#include <sys/resourcevar.h>
/* XXX */
@ -76,7 +77,6 @@
#include <machine/sigframe.h>
#include <machine/globaldata.h>
#include <machine/vm86.h>
#include <machine/mutex.h>
ASSYM(P_VMSPACE, offsetof(struct proc, p_vmspace));
ASSYM(VM_PMAP, offsetof(struct vmspace, vm_pmap));
@ -229,6 +229,6 @@ ASSYM(VM86_FRAMESIZE, sizeof(struct vm86frame));
ASSYM(MTX_LOCK, offsetof(struct mtx, mtx_lock));
ASSYM(MTX_RECURSE, offsetof(struct mtx, mtx_recurse));
ASSYM(MTX_SAVEFL, offsetof(struct mtx, mtx_savefl));
ASSYM(MTX_SAVEINTR, offsetof(struct mtx, mtx_saveintr));
ASSYM(MTX_UNOWNED, MTX_UNOWNED);

View File

@ -49,6 +49,7 @@
#include <sys/proc.h>
#include <sys/errno.h>
#include <sys/mount.h>
#include <sys/mutex.h>
#include <sys/socket.h>
#include <sys/resourcevar.h>
/* XXX */
@ -76,7 +77,6 @@
#include <machine/sigframe.h>
#include <machine/globaldata.h>
#include <machine/vm86.h>
#include <machine/mutex.h>
ASSYM(P_VMSPACE, offsetof(struct proc, p_vmspace));
ASSYM(VM_PMAP, offsetof(struct vmspace, vm_pmap));
@ -229,6 +229,6 @@ ASSYM(VM86_FRAMESIZE, sizeof(struct vm86frame));
ASSYM(MTX_LOCK, offsetof(struct mtx, mtx_lock));
ASSYM(MTX_RECURSE, offsetof(struct mtx, mtx_recurse));
ASSYM(MTX_SAVEFL, offsetof(struct mtx, mtx_savefl));
ASSYM(MTX_SAVEINTR, offsetof(struct mtx, mtx_saveintr));
ASSYM(MTX_UNOWNED, MTX_UNOWNED);

View File

@ -76,7 +76,7 @@ ASSYM(GD_ASTPENDING, offsetof(struct globaldata, gd_astpending));
ASSYM(MTX_LOCK, offsetof(struct mtx, mtx_lock));
ASSYM(MTX_RECURSE, offsetof(struct mtx, mtx_recurse));
ASSYM(MTX_SAVEPSR, offsetof(struct mtx, mtx_savepsr));
ASSYM(MTX_SAVEINTR, offsetof(struct mtx, mtx_saveintr));
ASSYM(MTX_UNOWNED, MTX_UNOWNED);
ASSYM(P_ADDR, offsetof(struct proc, p_addr));

View File

@ -48,6 +48,7 @@
#include <sys/errno.h>
#include <sys/proc.h>
#include <sys/mount.h>
#include <sys/mutex.h>
#include <sys/socket.h>
#include <sys/resource.h>
#include <sys/resourcevar.h>
@ -55,7 +56,6 @@
#include <machine/frame.h>
#include <machine/chipset.h>
#include <machine/globaldata.h>
#include <machine/mutex.h>
#include <sys/vmmeter.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
@ -79,7 +79,7 @@ ASSYM(GD_ASTPENDING, offsetof(struct globaldata, gd_astpending));
ASSYM(MTX_LOCK, offsetof(struct mtx, mtx_lock));
ASSYM(MTX_RECURSE, offsetof(struct mtx, mtx_recurse));
ASSYM(MTX_SAVEIPL, offsetof(struct mtx, mtx_saveipl));
ASSYM(MTX_SAVEINTR, offsetof(struct mtx, mtx_saveintr));
ASSYM(MTX_UNOWNED, MTX_UNOWNED);
ASSYM(P_ADDR, offsetof(struct proc, p_addr));