diff options
author | jhb <jhb@FreeBSD.org> | 2001-09-18 21:53:25 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-09-18 21:53:25 +0000 |
commit | 8b42ca6665e9c24ffde81c1fec61c21c32e069a7 (patch) | |
tree | 833e4ece7660d4fbc85518ccb092522fd140bb83 /sys/powerpc | |
parent | 814bb9623f72314786fee7bc44764a02313cc1fb (diff) | |
download | FreeBSD-src-8b42ca6665e9c24ffde81c1fec61c21c32e069a7.zip FreeBSD-src-8b42ca6665e9c24ffde81c1fec61c21c32e069a7.tar.gz |
GC obsolete cruft from this file.
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/include/globals.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/powerpc/include/globals.h b/sys/powerpc/include/globals.h index b2fe865..927020f 100644 --- a/sys/powerpc/include/globals.h +++ b/sys/powerpc/include/globals.h @@ -39,26 +39,12 @@ #define PCPU_PTR(member) (&GLOBALP->gd_ ## member) #define PCPU_SET(member,value) (GLOBALP->gd_ ## member = (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 curthread PCPU_GET(curthread) #define CURPROC (curthread->td_proc) #define curproc (curthread->td_proc) #define curksegrp (curthread->td_ksegrp) #define curkse (curthread->td_kse) -#define idleproc PCPU_GET(idleproc) -#define curpcb PCPU_GET(curpcb) -#define fpcurproc PCPU_GET(fpcurproc) -#define fpcurthread PCPU_GET(fpcurthread) -#define switchtime PCPU_GET(switchtime) -#define switchticks PCPU_GET(switchticks) -#define witness_spin_check PCPU_GET(witness_spin_check) - #endif /* _KERNEL */ #endif /* !_MACHINE_GLOBALS_H_ */ |