summaryrefslogtreecommitdiffstats
path: root/sys/alpha/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/alpha/include')
-rw-r--r--sys/alpha/include/globals.h13
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 */
OpenPOWER on IntegriCloud