summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/i386/include/globals.h4
-rw-r--r--sys/ia64/include/globals.h4
-rw-r--r--sys/powerpc/include/globals.h4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/i386/include/globals.h b/sys/i386/include/globals.h
index c3cc211..f0d6a65 100644
--- a/sys/i386/include/globals.h
+++ b/sys/i386/include/globals.h
@@ -131,8 +131,8 @@
#define GLOBALDATA PCPU_GET(prvspace)
#define curthread PCPU_GET(curthread)
-#define CURPROC (curthread->td_proc)
-#define curproc (curthread->td_proc)
+#define CURPROC (curthread->td_proc)
+#define curproc (curthread->td_proc)
#define curksegrp (curthread->td_ksegrp)
#define curkse (curthread->td_kse)
diff --git a/sys/ia64/include/globals.h b/sys/ia64/include/globals.h
index b953cf1..366d89b 100644
--- a/sys/ia64/include/globals.h
+++ b/sys/ia64/include/globals.h
@@ -41,8 +41,8 @@ register struct globaldata *globalp __asm__("r13");
#define PCPU_SET(member,value) (GLOBALP->gd_ ## member = (value))
#define curthread PCPU_GET(curthread)
-#define CURPROC (curthread->td_proc)
-#define curproc (curthread->td_proc)
+#define CURPROC (curthread->td_proc)
+#define curproc (curthread->td_proc)
#define curksegrp (curthread->td_ksegrp)
#define curkse (curthread->td_kse)
diff --git a/sys/powerpc/include/globals.h b/sys/powerpc/include/globals.h
index 6aa1a7a..b2fe865 100644
--- a/sys/powerpc/include/globals.h
+++ b/sys/powerpc/include/globals.h
@@ -46,8 +46,8 @@
* portability between UP and SMP kernels.
*/
#define curthread PCPU_GET(curthread)
-#define CURPROC (curthread->td_proc)
-#define curproc (curthread->td_proc)
+#define CURPROC (curthread->td_proc)
+#define curproc (curthread->td_proc)
#define curksegrp (curthread->td_ksegrp)
#define curkse (curthread->td_kse)
OpenPOWER on IntegriCloud