summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2012-02-27 17:28:22 +0000
committerjhb <jhb@FreeBSD.org>2012-02-27 17:28:22 +0000
commit29b46a1275ddc6e65d262e0198782cd7d10b8065 (patch)
tree6bc490fad72ead9915694d248e4f973c7f034bf5 /sys/amd64
parent8e29ac4811f031fb23b98364d1a3a04990688e95 (diff)
downloadFreeBSD-src-29b46a1275ddc6e65d262e0198782cd7d10b8065.zip
FreeBSD-src-29b46a1275ddc6e65d262e0198782cd7d10b8065.tar.gz
Update incorrect comment.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/cpu_switch.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/cpu_switch.S b/sys/amd64/amd64/cpu_switch.S
index bef4b75..aff9d17 100644
--- a/sys/amd64/amd64/cpu_switch.S
+++ b/sys/amd64/amd64/cpu_switch.S
@@ -76,7 +76,7 @@ ENTRY(cpu_throw)
movq PCPU(CURPMAP),%rdx
LK btrl %eax,PM_ACTIVE(%rdx) /* clear old */
1:
- movq TD_PCB(%rsi),%r8 /* newtd->td_proc */
+ movq TD_PCB(%rsi),%r8 /* newtd->td_pcb */
movq PCB_CR3(%r8),%rdx
movq %rdx,%cr3 /* new address space */
jmp swact
OpenPOWER on IntegriCloud