xenbus: don't BUG() on user mode induced condition
[pandora-kernel.git] / lib / show_mem.c
index 4407f8c..b7c7231 100644 (file)
@@ -18,6 +18,9 @@ void show_mem(unsigned int filter)
        printk("Mem-Info:\n");
        show_free_areas(filter);
 
+       if (filter & SHOW_MEM_FILTER_PAGE_COUNT)
+               return;
+
        for_each_online_pgdat(pgdat) {
                unsigned long i, flags;