aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2005-04-26 13:15:49 +0000
committerRobert Watson <rwatson@FreeBSD.org>2005-04-26 13:15:49 +0000
commit7849b49a608a84c080c7eec4030810f652446984 (patch)
tree858adf8b0c13f17d32a8609e3b90cfdbc7fc0d19 /sys
parent0080ee9897be3d8e382a03d157fad1a2618e2a2c (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/pcpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/pcpu.h b/sys/sys/pcpu.h
index ef0505293f0b3..97ab2cf3624c2 100644
--- a/sys/sys/pcpu.h
+++ b/sys/sys/pcpu.h
@@ -81,6 +81,7 @@ SLIST_HEAD(cpuhead, pcpu);
extern struct cpuhead cpuhead;
#define CURPROC (curthread->td_proc)
+#define curcpu PCPU_GET(cpuid)
#define curkse (curthread->td_kse)
#define curksegrp (curthread->td_ksegrp)
#define curproc (curthread->td_proc)