Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26365
b: refs/heads/master
c: c9f2946
h: refs/heads/master
i:
  26363: 5102bf7
v: v3
  • Loading branch information
David S. Miller committed May 1, 2006
1 parent b12317c commit 3b7ccdf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1241140f5183db38393556832198a3b109bf9085
refs/heads/master: c9f2946fbec88d4baa3a6d47eb3a8e6b08b05cd9
5 changes: 5 additions & 0 deletions trunk/arch/sparc64/mm/tlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <linux/percpu.h>
#include <linux/mm.h>
#include <linux/swap.h>
#include <linux/preempt.h>

#include <asm/pgtable.h>
#include <asm/pgalloc.h>
Expand All @@ -24,6 +25,8 @@ void flush_tlb_pending(void)
{
struct mmu_gather *mp = &__get_cpu_var(mmu_gathers);

preempt_disable();

if (mp->tlb_nr) {
flush_tsb_user(mp);

Expand All @@ -38,6 +41,8 @@ void flush_tlb_pending(void)
}
mp->tlb_nr = 0;
}

preempt_enable();
}

void tlb_batch_add(struct mm_struct *mm, unsigned long vaddr, pte_t *ptep, pte_t orig)
Expand Down

0 comments on commit 3b7ccdf

Please sign in to comment.