[PATCH] powerpc: Add SMP support to no-hash TLB handling v3

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Dec 10 07:07:47 EST 2008


On Tue, 2008-12-09 at 07:10 -0600, Kumar Gala wrote:
> > +void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long  
> > vmaddr)
> > +{
> > +	unsigned int pid;
> > +
> > +	preempt_disable();
> > +	pid = vma ? vma->vm_mm->context.id : 0;
> > +	if (pid != MMU_NO_CONTEXT)
> > +		_tlbil_va(vmaddr, pid);
> > +	preempt_enable();
> > +}
> > +EXPORT_SYMBOL(local_flush_tlb_page);
> 
> We are using this in highmem.h for kmap_atomic.. So you need to fix  
> that call site.

Ah yes, I forgot, will fix, thanks.

Cheers,
Ben.





More information about the Linuxppc-dev mailing list