summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/alpha/include/pcb.h9
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 */
OpenPOWER on IntegriCloud