diff options
author | jake <jake@FreeBSD.org> | 2001-01-11 14:46:26 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2001-01-11 14:46:26 +0000 |
commit | 4f7710fc47ddb6e51ce7317ffce5c6867264462e (patch) | |
tree | 6b7f5555a3b41258f59152128a62f6dbf2bd6183 /sys/alpha/include | |
parent | d1aa54787886163037633da6a38c68c51eb73c7e (diff) | |
download | FreeBSD-src-4f7710fc47ddb6e51ce7317ffce5c6867264462e.zip FreeBSD-src-4f7710fc47ddb6e51ce7317ffce5c6867264462e.tar.gz |
- Remove compatibility macros for accessing per-cpu variables.
__FreeBSD_version 500015 can be used to detect their disappearance.
- Move the symbols for SMP_prvspace and lapic from globals.s to
locore.s.
- Remove globals.s with extreme prejudice.
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 85fcad3..10de1b7 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 */ |