[SPARC64]: Don't open-code {get,put}_cpu_var() in flush_tlb_pending().

Noticed by Andrew Morton.

Signed-off-by: David S. Miller <davem@davemloft.net>

+2 -5
+2 -5
arch/sparc64/mm/tlb.c
··· 23 23 24 24 void flush_tlb_pending(void) 25 25 { 26 - struct mmu_gather *mp; 26 + struct mmu_gather *mp = &get_cpu_var(mmu_gathers); 27 27 28 - preempt_disable(); 29 - 30 - mp = &__get_cpu_var(mmu_gathers); 31 28 if (mp->tlb_nr) { 32 29 flush_tsb_user(mp); 33 30 ··· 40 43 mp->tlb_nr = 0; 41 44 } 42 45 43 - preempt_enable(); 46 + put_cpu_var(mmu_gathers); 44 47 } 45 48 46 49 void tlb_batch_add(struct mm_struct *mm, unsigned long vaddr, pte_t *ptep, pte_t orig)