[PATCH 3/3] powerpc: Rework context management for CPUs with no hash table

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Dec 4 17:46:32 EST 2008


On Thu, 2008-12-04 at 17:38 +1100, Stephen Rothwell wrote:
> Hi Ben,
> 
> On Thu, 04 Dec 2008 16:41:53 +1100 Benjamin Herrenschmidt <benh at kernel.crashing.org> wrote:
> >
> > +++ linux-work/arch/powerpc/mm/mmu_context_nohash.c	2008-12-04 15:18:46.000000000 +1100
> > +	/* No more free contexts, let's try to steal one */
> > +	if (nr_free_contexts == 0) {
> > +#ifdef CONFIF_SMP
>                ^
> typo

Bah, leave me some surprises for Kumar for when he tests on actual SMP
hardware :-)

Cheers,
Ben.





More information about the Linuxppc-dev mailing list