[PATCH] powerpc: Add SMP support to no-hash TLB handling v3
Kumar Gala
kumar.gala at freescale.com
Wed Dec 10 00:10:03 EST 2008
> +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.
- k
More information about the Linuxppc-dev
mailing list