PERFORCE change 145107 for review
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Sat Jul 12 18:24:14 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=145107
Change 145107 by gonzo at gonzo_jeeves on 2008/07/12 18:23:26
Remove extra mips_proc0_init
Affected files ...
.. //depot/projects/mips2/src/sys/mips/mips/machdep.c#40 edit
Differences ...
==== //depot/projects/mips2/src/sys/mips/mips/machdep.c#40 (text+ko) ====
@@ -566,19 +566,3 @@
{
}
-
-void
-mips_proc0_init(void)
-{
- proc_linkup(&proc0, &thread0);
- thread0.td_kstack = kstack0;
- /* Initialize pcpu info of cpu-zero */
-#ifdef SMP
- pcpu_init(&__pcpu[0], 0, sizeof(struct pcpu));
-#else
- pcpu_init(pcpup, 0, sizeof(struct pcpu));
-#endif
- pcpup->pc_curthread = &thread0;
- cpu_thread_alloc(curthread);
- pcpup->pc_curpcb = curthread->td_pcb;
-}
More information about the p4-projects
mailing list