Skip to content
Snippets Groups Projects
Commit f2e785ed authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Benjamin Herrenschmidt
Browse files

powerpc: Use call_rcu_sched() for pagetables


PowerPC relies on IRQ-disable to guard against RCU quiecent states,
use the appropriate RCU call version.

Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 72083646
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@ static void pte_free_rcu_callback(struct rcu_head *head)
static void pte_free_submit(struct pte_freelist_batch *batch)
{
call_rcu(&batch->rcu, pte_free_rcu_callback);
call_rcu_sched(&batch->rcu, pte_free_rcu_callback);
}
void pgtable_free_tlb(struct mmu_gather *tlb, void *table, unsigned shift)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment