1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

- Add appropriate #ifndef/#define/#endif to protect against multiple

inclusions.
- Blow away all evidence of a static curpcb as curpcb is a per-CPU variable
  and this definition is now bogus.
This commit is contained in:
John Baldwin 2001-04-17 02:51:28 +00:00
parent 2bec909c3d
commit 8c321ed95f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=75566

View File

@ -28,6 +28,9 @@
* rights to redistribute these changes.
*/
#ifndef _MACHINE_PCB_H_
#define _MACHINE_PCB_H_
#include <machine/frame.h>
#include <machine/reg.h>
#include <machine/globaldata.h>
@ -65,8 +68,4 @@ struct md_coredump {
struct fpreg md_fpstate;
};
#ifdef _KERNEL
#ifndef curpcb
extern struct pcb *curpcb; /* our current running pcb */
#endif
#endif
#endif /* _MACHINE_PCB_H */