diff options
| author | Jake Burkholder <jake@FreeBSD.org> | 2001-01-11 14:46:26 +0000 |
|---|---|---|
| committer | Jake Burkholder <jake@FreeBSD.org> | 2001-01-11 14:46:26 +0000 |
| commit | df729d6f00f3755050bd55503c22b10bfc03746c (patch) | |
| tree | 58ca0dc9af043b999db36aa15355cd6e209a66fd /sys/alpha/include | |
| parent | 2fbe70cb49ea7d3bbccbc63a23af4c3b8a7b6283 (diff) | |
Notes
Diffstat (limited to 'sys/alpha/include')
| -rw-r--r-- | sys/alpha/include/globals.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/alpha/include/globals.h b/sys/alpha/include/globals.h index 85fcad3c40fa..10de1b73c4ca 100644 --- a/sys/alpha/include/globals.h +++ b/sys/alpha/include/globals.h @@ -44,22 +44,9 @@ register struct globaldata *globalp __asm__("$8"); #define PCPU_PTR(name) (&GLOBALP->gd_##name) #define PCPU_SET(name,value) (GLOBALP->gd_##name = (value)) -/* - * The following set of macros works for UP kernel as well, but for maximum - * performance we allow the global variables to be accessed directly. On the - * other hand, kernel modules should always use these macros to maintain - * 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) -#define fpcurproc PCPU_GET(fpcurproc) -#define switchtime PCPU_GET(switchtime) -#define switchticks PCPU_GET(switchticks) -#define cpuid PCPU_GET(cpuno) -#define witness_spin_check PCPU_GET(witness_spin_check) #endif /* _KERNEL */ |
