Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 2008 18:24:14 GMT
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 145107 for review
Message-ID:  <200807121824.m6CIOEiZ018935@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=145107

Change 145107 by gonzo@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;
-}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807121824.m6CIOEiZ018935>