mm: convert totalram_pages and totalhigh_pages variables to atomic
[linux-2.6-microblaze.git] / fs / ceph / super.h
index 79a265b..dfb64a5 100644 (file)
@@ -810,7 +810,7 @@ static inline int default_congestion_kb(void)
         * This allows larger machines to have larger/more transfers.
         * Limit the default to 256M
         */
-       congestion_kb = (16*int_sqrt(totalram_pages)) << (PAGE_SHIFT-10);
+       congestion_kb = (16*int_sqrt(totalram_pages())) << (PAGE_SHIFT-10);
        if (congestion_kb > 256*1024)
                congestion_kb = 256*1024;