diff options
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) |
