summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2000-10-23 18:39:30 +0000
committermjacob <mjacob@FreeBSD.org>2000-10-23 18:39:30 +0000
commit8a98d4ea0bd90b52d46709c14fd903fede17015b (patch)
treeb953695092687b51b8bb94d5dc3302c337f97c56 /sys/ia64
parent1371d7ded97743f76757f169ff5992f7288542e3 (diff)
downloadFreeBSD-src-8a98d4ea0bd90b52d46709c14fd903fede17015b.zip
FreeBSD-src-8a98d4ea0bd90b52d46709c14fd903fede17015b.tar.gz
CURTHD now defines in globals.h
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/include/globals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ia64/include/globals.h b/sys/ia64/include/globals.h
index 07c44e7..c036d9e 100644
--- a/sys/ia64/include/globals.h
+++ b/sys/ia64/include/globals.h
@@ -30,6 +30,7 @@
#define _MACHINE_GLOBALS_H_
#ifdef _KERNEL
+#include <machine/globaldata.h>
register struct globaldata *globalp __asm__("r13");
@@ -49,6 +50,7 @@ register struct globaldata *globalp __asm__("r13");
* 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