Browse Source

Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc

* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
  powerpc: Use call_rcu_sched() for pagetables
Linus Torvalds 14 years ago
parent
commit
32e1572427
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/powerpc/mm/pgtable.c

+ 1 - 1
arch/powerpc/mm/pgtable.c

@@ -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)