Date: Sat, 15 Mar 2008 19:52:00 GMT From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 137796 for review Message-ID: <200803151952.m2FJq0qD065445@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=137796 Change 137796 by marcel@marcel_xcllnt on 2008/03/15 19:51:42 Fix compile breakage (due to commit before compile). AP boots to the end, where we put it in an infinite loop. Affected files ... .. //depot/projects/powerpc/sys/powerpc/aim/mp_cpudep.c#4 edit .. //depot/projects/powerpc/sys/powerpc/powerpc/mp_machdep.c#19 edit Differences ... ==== //depot/projects/powerpc/sys/powerpc/aim/mp_cpudep.c#4 (text+ko) ==== @@ -168,14 +168,12 @@ trcp[1] = 0; pcpup->pc_curthread = pcpup->pc_idlethread; - pcpup->pc_curtcb = pcpup->pc_curthread->td_pcb; + pcpup->pc_curpcb = pcpup->pc_curthread->td_pcb; sp = pcpup->pc_curpcb->pcb_sp; trcp[0] = 0x2003; trcp[1] = sp; - breakpoint(); - return (sp); } ==== //depot/projects/powerpc/sys/powerpc/powerpc/mp_machdep.c#19 (text+ko) ==== @@ -236,7 +236,7 @@ break; case IPI_STOP: self = PCPU_GET(cpumask); - savectx(PCPU_PTR(pcb)); + savectx(PCPU_GET(curpcb)); atomic_set_int(&stopped_cpus, self); while ((started_cpus & self) == 0) cpu_spinwait();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803151952.m2FJq0qD065445>