]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/mm/fault.c
powerpc: Correct page-in counter for CMM with 64k pages
[linux-2.6-omap-h63xx.git] / arch / powerpc / mm / fault.c
index b18bc0f023c8793adc5bc159f015e32042e2195f..7df0409107ad6067835af13f6629603adff70ece 100644 (file)
@@ -324,7 +324,7 @@ good_area:
 #ifdef CONFIG_PPC_SMLPAR
                if (firmware_has_feature(FW_FEATURE_CMO)) {
                        preempt_disable();
-                       get_lppaca()->page_ins++;
+                       get_lppaca()->page_ins += (1 << PAGE_FACTOR);
                        preempt_enable();
                }
 #endif