diff options
Diffstat (limited to 'arch/i386/mm/pgtable.c')
-rw-r--r-- | arch/i386/mm/pgtable.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/i386/mm/pgtable.c b/arch/i386/mm/pgtable.c index aa211dcddb08..5e735ff90e8a 100644 --- a/arch/i386/mm/pgtable.c +++ b/arch/i386/mm/pgtable.c | |||
@@ -30,7 +30,6 @@ void show_mem(void) | |||
30 | struct page *page; | 30 | struct page *page; |
31 | pg_data_t *pgdat; | 31 | pg_data_t *pgdat; |
32 | unsigned long i; | 32 | unsigned long i; |
33 | struct page_state ps; | ||
34 | unsigned long flags; | 33 | unsigned long flags; |
35 | 34 | ||
36 | printk(KERN_INFO "Mem-info:\n"); | 35 | printk(KERN_INFO "Mem-info:\n"); |
@@ -58,9 +57,9 @@ void show_mem(void) | |||
58 | printk(KERN_INFO "%d pages shared\n", shared); | 57 | printk(KERN_INFO "%d pages shared\n", shared); |
59 | printk(KERN_INFO "%d pages swap cached\n", cached); | 58 | printk(KERN_INFO "%d pages swap cached\n", cached); |
60 | 59 | ||
61 | get_page_state(&ps); | ||
62 | printk(KERN_INFO "%lu pages dirty\n", global_page_state(NR_FILE_DIRTY)); | 60 | printk(KERN_INFO "%lu pages dirty\n", global_page_state(NR_FILE_DIRTY)); |
63 | printk(KERN_INFO "%lu pages writeback\n", ps.nr_writeback); | 61 | printk(KERN_INFO "%lu pages writeback\n", |
62 | global_page_state(NR_WRITEBACK)); | ||
64 | printk(KERN_INFO "%lu pages mapped\n", global_page_state(NR_FILE_MAPPED)); | 63 | printk(KERN_INFO "%lu pages mapped\n", global_page_state(NR_FILE_MAPPED)); |
65 | printk(KERN_INFO "%lu pages slab\n", global_page_state(NR_SLAB)); | 64 | printk(KERN_INFO "%lu pages slab\n", global_page_state(NR_SLAB)); |
66 | printk(KERN_INFO "%lu pages pagetables\n", | 65 | printk(KERN_INFO "%lu pages pagetables\n", |