summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/pcpu.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-11-20 23:49:28 +0000
committerpeter <peter@FreeBSD.org>2003-11-20 23:49:28 +0000
commitcc3418dd7782892fcbab1ea869e81780719b1f8d (patch)
tree7878f7cfe95e414ba0c05e85bd98989d09cc0e7e /sys/amd64/include/pcpu.h
parentd7a2504b1e8c12fe9c7118548f0413b9b5d920b6 (diff)
downloadFreeBSD-src-cc3418dd7782892fcbab1ea869e81780719b1f8d.zip
FreeBSD-src-cc3418dd7782892fcbab1ea869e81780719b1f8d.tar.gz
Argh! Followup to previous commit. I checked in the patch with an
unintended local change. Change Xurthread back to curthread.
Diffstat (limited to 'sys/amd64/include/pcpu.h')
-rw-r--r--sys/amd64/include/pcpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/pcpu.h b/sys/amd64/include/pcpu.h
index b96221b..0694c76 100644
--- a/sys/amd64/include/pcpu.h
+++ b/sys/amd64/include/pcpu.h
@@ -167,7 +167,7 @@ __curthread(void)
__asm __volatile("movq %%gs:0,%0" : "=r" (td));
return (td);
}
-#define Xurthread (__curthread())
+#define curthread (__curthread())
#else
#error gcc or lint is required to use this file
OpenPOWER on IntegriCloud