]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/powerpc/mm/pgtable_64.c
Merge branch 'akpm-current/current'
[karo-tx-linux.git] / arch / powerpc / mm / pgtable_64.c
index 0eb53128ca2a32ef7bd049060ffd69223f8ebcc1..347106080bb1e64b87d28477db24e47f3ab3ef77 100644 (file)
@@ -403,7 +403,7 @@ static pte_t *__alloc_for_cache(struct mm_struct *mm, int kernel)
         * count.
         */
        if (likely(!mm->context.pte_frag)) {
-               atomic_set(&page->_count, PTE_FRAG_NR);
+               set_page_count(page, PTE_FRAG_NR);
                mm->context.pte_frag = ret + PTE_FRAG_SIZE;
        }
        spin_unlock(&mm->page_table_lock);