Commit f2e785ed authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Benjamin Herrenschmidt

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
...@@ -92,7 +92,7 @@ static void pte_free_rcu_callback(struct rcu_head *head) ...@@ -92,7 +92,7 @@ static void pte_free_rcu_callback(struct rcu_head *head)
static void pte_free_submit(struct pte_freelist_batch *batch) 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) void pgtable_free_tlb(struct mmu_gather *tlb, void *table, unsigned shift)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment