diff options
author | jhb <jhb@FreeBSD.org> | 2001-04-17 02:51:28 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-04-17 02:51:28 +0000 |
commit | 3a52576aa47994ff671ff9098e1afb72a4ed9e60 (patch) | |
tree | 808a80387719bc512ef7a46cec01fc064b0aa0b3 /sys/alpha | |
parent | f8ca9d2d2087d8ebf83aae200f9269eafd5e5945 (diff) | |
download | FreeBSD-src-3a52576aa47994ff671ff9098e1afb72a4ed9e60.zip FreeBSD-src-3a52576aa47994ff671ff9098e1afb72a4ed9e60.tar.gz |
- 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.
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/include/pcb.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/alpha/include/pcb.h b/sys/alpha/include/pcb.h index e86af08..18c4c13 100644 --- a/sys/alpha/include/pcb.h +++ b/sys/alpha/include/pcb.h @@ -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 */ |