summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2007-06-06 07:35:08 +0000
committerdavidxu <davidxu@FreeBSD.org>2007-06-06 07:35:08 +0000
commit3a1a57d0eb8e8d05d4a48d6ded5313d836f2504d (patch)
tree5052dd6b94582ed601e9b5a970f9933bf177e726 /sys/i386
parent3eb2cf672b15d9a2957d6883fb85d3428355f46c (diff)
downloadFreeBSD-src-3a1a57d0eb8e8d05d4a48d6ded5313d836f2504d.zip
FreeBSD-src-3a1a57d0eb8e8d05d4a48d6ded5313d836f2504d.tar.gz
Backout experimental adaptive-spin umtx code.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/genassym.c1
-rw-r--r--sys/i386/i386/machdep.c1
-rw-r--r--sys/i386/i386/swtch.s1
3 files changed, 0 insertions, 3 deletions
diff --git a/sys/i386/i386/genassym.c b/sys/i386/i386/genassym.c
index bf15298..791bf09 100644
--- a/sys/i386/i386/genassym.c
+++ b/sys/i386/i386/genassym.c
@@ -199,7 +199,6 @@ ASSYM(PC_CURRENTLDT, offsetof(struct pcpu, pc_currentldt));
ASSYM(PC_CPUID, offsetof(struct pcpu, pc_cpuid));
ASSYM(PC_CURPMAP, offsetof(struct pcpu, pc_curpmap));
ASSYM(PC_PRIVATE_TSS, offsetof(struct pcpu, pc_private_tss));
-ASSYM(PC_CURTID, offsetof(struct pcpu, pc_curtid));
#ifdef DEV_APIC
ASSYM(LA_VER, offsetof(struct LAPIC, version));
diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c
index 16f2303..df3b5eb 100644
--- a/sys/i386/i386/machdep.c
+++ b/sys/i386/i386/machdep.c
@@ -2118,7 +2118,6 @@ init386(first)
PCPU_SET(prvspace, pc);
PCPU_SET(curthread, &thread0);
PCPU_SET(curpcb, thread0.td_pcb);
- PCPU_SET(curtid, thread0.td_tid);
/*
* Initialize mutexes.
diff --git a/sys/i386/i386/swtch.s b/sys/i386/i386/swtch.s
index 5df5959..9002a81 100644
--- a/sys/i386/i386/swtch.s
+++ b/sys/i386/i386/swtch.s
@@ -247,7 +247,6 @@ sw1:
movl %edx, PCPU(CURPCB)
movl TD_TID(%ecx),%eax
movl %ecx, PCPU(CURTHREAD) /* into next thread */
- movl %eax, PCPU(CURTID)
/*
* Determine the LDT to use and load it if is the default one and
OpenPOWER on IntegriCloud