]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - mm/vmstat.c
sysdev: Convert the x86 mce tolerant sysdev attribute to generic attribute
[linux-2.6-omap-h63xx.git] / mm / vmstat.c
index 280a7ed549f2efc6cf436cc1c2af1b83eb33f439..db9eabb2c5b3a992a04ac2396bf791b72bbdcf94 100644 (file)
@@ -41,7 +41,9 @@ static void sum_vm_events(unsigned long *ret, cpumask_t *cpumask)
 */
 void all_vm_events(unsigned long *ret)
 {
+       get_online_cpus();
        sum_vm_events(ret, &cpu_online_map);
+       put_online_cpus();
 }
 EXPORT_SYMBOL_GPL(all_vm_events);
 
@@ -612,6 +614,7 @@ static const char * const vmstat_text[] = {
        "nr_unstable",
        "nr_bounce",
        "nr_vmscan_write",
+       "nr_writeback_temp",
 
 #ifdef CONFIG_NUMA
        "numa_hit",