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:
parent
c16289f1c1
commit
0c7e9074e6
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user