summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim/vm_machdep.c
diff options
context:
space:
mode:
authorbenno <benno@FreeBSD.org>2004-03-30 13:57:34 +0000
committerbenno <benno@FreeBSD.org>2004-03-30 13:57:34 +0000
commit79b30192e59435f72122412ec6e198f5f357a8d4 (patch)
tree7a4b5713effa8bd7db6815387ed628da1a76050b /sys/powerpc/aim/vm_machdep.c
parentfcbd1c72ce94cf8d12ccdea8da94164aa4aeafd5 (diff)
downloadFreeBSD-src-79b30192e59435f72122412ec6e198f5f357a8d4.zip
FreeBSD-src-79b30192e59435f72122412ec6e198f5f357a8d4.tar.gz
Replace td2 with td on the assumption that this was a typo. This should at
least unbreak the build. Pointy hat to: peter Not tested either by: benno
Diffstat (limited to 'sys/powerpc/aim/vm_machdep.c')
-rw-r--r--sys/powerpc/aim/vm_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/aim/vm_machdep.c b/sys/powerpc/aim/vm_machdep.c
index 9935390..44f2f6c 100644
--- a/sys/powerpc/aim/vm_machdep.c
+++ b/sys/powerpc/aim/vm_machdep.c
@@ -355,7 +355,7 @@ cpu_thread_setup(struct thread *td)
{
struct pcb *pcb;
- pcb = (struct pcb *)((td->td_kstack + td2->td_kstack_pages * PAGE_SIZE -
+ pcb = (struct pcb *)((td->td_kstack + td->td_kstack_pages * PAGE_SIZE -
sizeof(struct pcb)) & ~0x2fU);
td->td_pcb = pcb;
td->td_frame = (struct trapframe *)pcb - 1;
OpenPOWER on IntegriCloud