Date:2013-04-25 01:52:18 (9 years 5 months ago)
Author:David S. Miller
Commit:f0af97070acbad5d6a361f485828223a4faaa0ee
Message:sparc64: Fix missing put_cpu_var() in tlb_batch_add_one() when not batching.

Reported-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: David S. Miller <davem@davemloft.net>
Files: arch/sparc/mm/tlb.c (2 diffs)

Change Details

arch/sparc/mm/tlb.c
8787    if (!tb->active) {
8888        global_flush_tlb_page(mm, vaddr);
8989        flush_tsb_user_page(mm, vaddr);
90        return;
90        goto out;
9191    }
9292
9393    if (nr == 0)
...... 
9898    if (nr >= TLB_BATCH_NR)
9999        flush_tlb_pending();
100100
101out:
101102    put_cpu_var(tlb_batch);
102103}
103104

Archive Download the corresponding diff file



interactive