From 3a52576aa47994ff671ff9098e1afb72a4ed9e60 Mon Sep 17 00:00:00 2001 From: jhb Date: Tue, 17 Apr 2001 02:51:28 +0000 Subject: - 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. --- sys/alpha/include/pcb.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'sys/alpha/include') 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 #include #include @@ -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 */ -- cgit v1.1