projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
062ea6d
)
[SPARC64]: Fix __get_cpu_var in preemption-enabled area.
author
David S. Miller
<davem@davemloft.net>
Wed, 26 Mar 2008 11:25:00 +0000
(
04:25
-0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 26 Mar 2008 11:25:00 +0000
(
04:25
-0700)
Reported by Mariusz Kozlowski.
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/mm/tlb.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sparc64/mm/tlb.c
b/arch/sparc64/mm/tlb.c
index 3f10fc921b00e1bfb6279f8ccf00986ad7619089..a0f000b293de6ab3c26f2267ee8d7d40c0fe1d6f 100644
(file)
--- a/
arch/sparc64/mm/tlb.c
+++ b/
arch/sparc64/mm/tlb.c
@@
-23,10
+23,11
@@
DEFINE_PER_CPU(struct mmu_gather, mmu_gathers) = { 0, };
void flush_tlb_pending(void)
{
- struct mmu_gather *mp
= &__get_cpu_var(mmu_gathers)
;
+ struct mmu_gather *mp;
preempt_disable();
+ mp = &__get_cpu_var(mmu_gathers);
if (mp->tlb_nr) {
flush_tsb_user(mp);