Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186222
b: refs/heads/master
c: f047f4f
h: refs/heads/master
v: v3
  • Loading branch information
Amerigo Wang authored and Linus Torvalds committed Mar 6, 2010
1 parent 5d23368 commit 1589488
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 478352e789f507105193d3d0177c3b4f26da0399
refs/heads/master: f047f4f3792344901e1ea18a180515d7d5349e02
14 changes: 7 additions & 7 deletions trunk/lib/show_mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ void show_mem(void)
unsigned long total = 0, reserved = 0, shared = 0,
nonshared = 0, highmem = 0;

printk(KERN_INFO "Mem-Info:\n");
printk("Mem-Info:\n");
show_free_areas();

for_each_online_pgdat(pgdat) {
Expand Down Expand Up @@ -49,15 +49,15 @@ void show_mem(void)
pgdat_resize_unlock(pgdat, &flags);
}

printk(KERN_INFO "%lu pages RAM\n", total);
printk("%lu pages RAM\n", total);
#ifdef CONFIG_HIGHMEM
printk(KERN_INFO "%lu pages HighMem\n", highmem);
printk("%lu pages HighMem\n", highmem);
#endif
printk(KERN_INFO "%lu pages reserved\n", reserved);
printk(KERN_INFO "%lu pages shared\n", shared);
printk(KERN_INFO "%lu pages non-shared\n", nonshared);
printk("%lu pages reserved\n", reserved);
printk("%lu pages shared\n", shared);
printk("%lu pages non-shared\n", nonshared);
#ifdef CONFIG_QUICKLIST
printk(KERN_INFO "%lu pages in pagetable cache\n",
printk("%lu pages in pagetable cache\n",
quicklist_total_size());
#endif
}

0 comments on commit 1589488

Please sign in to comment.