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
This commit is contained in:
Benno Rice 2004-03-30 13:57:34 +00:00
parent c16289f1c1
commit 0c7e9074e6
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;