]> git.ipfire.org Git - people/arne_f/kernel.git/blobdiff - arch/sparc/kernel/smp_64.c
Merge tag 'v4.9.32' into linux-4.9.x-grsecurity-3.1
[people/arne_f/kernel.git] / arch / sparc / kernel / smp_64.c
index d5807d24b98f054b03aebc42d616217035f35615..35ad8c6a8e1c4165be34cb3144b9cd2859600ac4 100644 (file)
@@ -895,7 +895,7 @@ void smp_flush_dcache_page_impl(struct page *page, int cpu)
                return;
 
 #ifdef CONFIG_DEBUG_DCFLUSH
-       atomic_inc(&dcpage_flushes);
+       atomic_inc_unchecked(&dcpage_flushes);
 #endif
 
        this_cpu = get_cpu();
@@ -919,7 +919,7 @@ void smp_flush_dcache_page_impl(struct page *page, int cpu)
                        xcall_deliver(data0, __pa(pg_addr),
                                      (u64) pg_addr, cpumask_of(cpu));
 #ifdef CONFIG_DEBUG_DCFLUSH
-                       atomic_inc(&dcpage_flushes_xcall);
+                       atomic_inc_unchecked(&dcpage_flushes_xcall);
 #endif
                }
        }
@@ -938,7 +938,7 @@ void flush_dcache_page_all(struct mm_struct *mm, struct page *page)
        preempt_disable();
 
 #ifdef CONFIG_DEBUG_DCFLUSH
-       atomic_inc(&dcpage_flushes);
+       atomic_inc_unchecked(&dcpage_flushes);
 #endif
        data0 = 0;
        pg_addr = page_address(page);
@@ -955,7 +955,7 @@ void flush_dcache_page_all(struct mm_struct *mm, struct page *page)
                xcall_deliver(data0, __pa(pg_addr),
                              (u64) pg_addr, cpu_online_mask);
 #ifdef CONFIG_DEBUG_DCFLUSH
-               atomic_inc(&dcpage_flushes_xcall);
+               atomic_inc_unchecked(&dcpage_flushes_xcall);
 #endif
        }
        __local_flush_dcache_page(page);