[PATCH]: PowerPC: make sure the rtas stop-self token is defined.
Linas Vepstas
linas at austin.ibm.com
Thu Nov 16 05:08:14 EST 2006
On Tue, Nov 14, 2006 at 12:17:44PM +1100, Michael Ellerman wrote:
> On Mon, 2006-11-13 at 12:05 -0600, Linas Vepstas wrote:
> >
> > Well, the problem is that this would just pass the BUG() to
> > the next level, in pSeries_mach_cpu_die():
> >
> > static void pSeries_mach_cpu_die(void)
> > {
> > local_irq_disable();
> > idle_task_exit();
> > xics_teardown_cpu(0);
> > rtas_stop_self();
> > /* Should never get here... */
> > BUG();
> > for(;;);
> > }
> >
> > so does that mean that CONFIG_HOTPLUG_CPU should also be used to
> > stop the complation of pSeries_mach_cpu_die() ?
>
> Yes. And its connection to ppc_md.cpu_die.
OK, will send patch for this shortly. I reviewed the other cases,
and see now that this would e the consistent thing to do.
--linas
More information about the Linuxppc-dev
mailing list