diff options
| author | John W. Linville <linville@tuxdriver.com> | 2006-07-27 14:27:06 -0400 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2006-07-27 14:27:06 -0400 |
| commit | 20f99dcf417a28089ef6c877ae97f5dec2eab435 (patch) | |
| tree | b4fe1f3e429d6a82ddaaa8e12899da630cfa8a63 /arch/mips/mm/pgtable.c | |
| parent | dd2f5538a157bda68bfa8efb39feaaccdda9e74e (diff) | |
| parent | 64821324ca49f24be1a66f2f432108f96a24e596 (diff) | |
Merge branch 'from-linus' into upstream
Diffstat (limited to 'arch/mips/mm/pgtable.c')
| -rw-r--r-- | arch/mips/mm/pgtable.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/mm/pgtable.c b/arch/mips/mm/pgtable.c index 792c6eb44232..c93aa6cbcaca 100644 --- a/arch/mips/mm/pgtable.c +++ b/arch/mips/mm/pgtable.c | |||
| @@ -15,6 +15,8 @@ void show_mem(void) | |||
| 15 | printk("Free swap: %6ldkB\n", nr_swap_pages<<(PAGE_SHIFT-10)); | 15 | printk("Free swap: %6ldkB\n", nr_swap_pages<<(PAGE_SHIFT-10)); |
| 16 | pfn = max_mapnr; | 16 | pfn = max_mapnr; |
| 17 | while (pfn-- > 0) { | 17 | while (pfn-- > 0) { |
| 18 | if (!pfn_valid(pfn)) | ||
| 19 | continue; | ||
| 18 | page = pfn_to_page(pfn); | 20 | page = pfn_to_page(pfn); |
| 19 | total++; | 21 | total++; |
| 20 | if (PageHighMem(page)) | 22 | if (PageHighMem(page)) |
