[IA64] correctly count CPU objects in the ia64/sn hwperf interface
[pandora-kernel.git] / mm / vmstat.c
index 8faf27e..eceaf49 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/mm.h>
 #include <linux/module.h>
 #include <linux/cpu.h>
+#include <linux/sched.h>
 
 #ifdef CONFIG_VM_EVENT_COUNTERS
 DEFINE_PER_CPU(struct vm_event_state, vm_event_states) = {{0}};
@@ -476,8 +477,8 @@ const struct seq_operations fragmentation_op = {
 static const char * const vmstat_text[] = {
        /* Zoned VM counters */
        "nr_free_pages",
-       "nr_active",
        "nr_inactive",
+       "nr_active",
        "nr_anon_pages",
        "nr_mapped",
        "nr_file_pages",