diff options
| author | Matt Jacob <mjacob@FreeBSD.org> | 2000-10-23 18:36:03 +0000 |
|---|---|---|
| committer | Matt Jacob <mjacob@FreeBSD.org> | 2000-10-23 18:36:03 +0000 |
| commit | eb661345a9b65d5259d24d1f5958889f88612697 (patch) | |
| tree | 3ef96765a33a0e255679eb0bf1ba38b85903f597 /sys/alpha/include | |
| parent | 4ae338d0f2811b4a3f0aefc7c4dbe63587e107af (diff) | |
Notes
Diffstat (limited to 'sys/alpha/include')
| -rw-r--r-- | sys/alpha/include/globals.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/alpha/include/globals.h b/sys/alpha/include/globals.h index f85a67c4c37e..b9e75fc5c584 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) |
