Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103076166
D16226.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
772 B
Referenced Files
None
Subscribers
None
D16226.diff
View Options
Index: head/sys/mips/mips/vm_machdep.c
===================================================================
--- head/sys/mips/mips/vm_machdep.c
+++ head/sys/mips/mips/vm_machdep.c
@@ -90,10 +90,8 @@
void
cpu_fork(struct thread *td1, struct proc *p2, struct thread *td2,int flags)
{
- struct proc *p1;
struct pcb *pcb2;
- p1 = td1->td_proc;
if ((flags & RFPROC) == 0)
return;
/* It is assumed that the vm_thread_alloc called
@@ -103,7 +101,7 @@
/* Point the pcb to the top of the stack */
pcb2 = td2->td_pcb;
- /* Copy p1's pcb, note that in this case
+ /* Copy td1's pcb, note that in this case
* our pcb also includes the td_frame being copied
* too. The older mips2 code did an additional copy
* of the td_frame, for us that's not needed any
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 21, 3:14 PM (21 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14763240
Default Alt Text
D16226.diff (772 B)
Attached To
Mode
D16226: [MIPS]: reap unused struct proc *p1;
Attached
Detach File
Event Timeline
Log In to Comment