summaryrefslogtreecommitdiffstats
path: root/sys/alpha/include
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2000-10-23 18:36:03 +0000
committermjacob <mjacob@FreeBSD.org>2000-10-23 18:36:03 +0000
commit1371d7ded97743f76757f169ff5992f7288542e3 (patch)
treeac7bc86598169995054e57de31a9ac5da0e2807d /sys/alpha/include
parent5ca524e01452f4ccb05cf0a45382f05560ae96b9 (diff)
downloadFreeBSD-src-1371d7ded97743f76757f169ff5992f7288542e3.zip
FreeBSD-src-1371d7ded97743f76757f169ff5992f7288542e3.tar.gz
Move bogus proc reference stuff into <machine/globals.h>. There is no
more include file including <sys/proc.h>, but there still is this wonky and (causes warnings on i386) reference in globals.h. CURTHD is now defined in <machine/globals.h> as well. The correct thing to do is provide a platform function for this.
Diffstat (limited to 'sys/alpha/include')
-rw-r--r--sys/alpha/include/globals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/alpha/include/globals.h b/sys/alpha/include/globals.h
index f85a67c..b9e75fc 100644
--- a/sys/alpha/include/globals.h
+++ b/sys/alpha/include/globals.h
@@ -30,6 +30,7 @@
#define _MACHINE_GLOBALS_H_
#ifdef _KERNEL
+#include <machine/globaldata.h>
register struct globaldata *globalp __asm__("$8");
@@ -49,6 +50,7 @@ register struct globaldata *globalp __asm__("$8");
* portability between UP and SMP kernels.
*/
#define CURPROC PCPU_GET(curproc)
+#define CURTHD PCPU_GET(curproc) /* temporary */
#define curproc PCPU_GET(curproc)
#define idleproc PCPU_GET(idleproc)
#define curpcb PCPU_GET(curpcb)
OpenPOWER on IntegriCloud