diff options
author | benno <benno@FreeBSD.org> | 2004-03-30 13:57:34 +0000 |
---|---|---|
committer | benno <benno@FreeBSD.org> | 2004-03-30 13:57:34 +0000 |
commit | 79b30192e59435f72122412ec6e198f5f357a8d4 (patch) | |
tree | 7a4b5713effa8bd7db6815387ed628da1a76050b /sys/powerpc | |
parent | fcbd1c72ce94cf8d12ccdea8da94164aa4aeafd5 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/powerpc/aim/vm_machdep.c | 2 | ||||
-rw-r--r-- | sys/powerpc/powerpc/vm_machdep.c | 2 |
2 files changed, 2 insertions, 2 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; diff --git a/sys/powerpc/powerpc/vm_machdep.c b/sys/powerpc/powerpc/vm_machdep.c index 9935390..44f2f6c 100644 --- a/sys/powerpc/powerpc/vm_machdep.c +++ b/sys/powerpc/powerpc/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; |