diff options
author | Zhang Yanfei <zhangyanfei@cn.fujitsu.com> | 2013-02-22 19:35:45 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-23 20:50:22 -0500 |
commit | 6434b94a16b09ac84a6411adb2bc0b645245d007 (patch) | |
tree | 750af72261d1eaf72dc0024430a204c16ad8bab0 /arch/ia64/mm | |
parent | ebec3862fd6eefe8301aa55ed2e30c685d831842 (diff) |
ia64: use %ld to print pages calculated in nr_free_buffer_pages
Now the function nr_free_buffer_pages returns unsigned long, so use %ld
to print its return value.
Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/ia64/mm')
-rw-r--r-- | arch/ia64/mm/contig.c | 2 | ||||
-rw-r--r-- | arch/ia64/mm/discontig.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/mm/contig.c b/arch/ia64/mm/contig.c index 1516d1dc11fd..80dab509dfb0 100644 --- a/arch/ia64/mm/contig.c +++ b/arch/ia64/mm/contig.c | |||
@@ -93,7 +93,7 @@ void show_mem(unsigned int filter) | |||
93 | printk(KERN_INFO "%d pages swap cached\n", total_cached); | 93 | printk(KERN_INFO "%d pages swap cached\n", total_cached); |
94 | printk(KERN_INFO "Total of %ld pages in page table cache\n", | 94 | printk(KERN_INFO "Total of %ld pages in page table cache\n", |
95 | quicklist_total_size()); | 95 | quicklist_total_size()); |
96 | printk(KERN_INFO "%d free buffer pages\n", nr_free_buffer_pages()); | 96 | printk(KERN_INFO "%ld free buffer pages\n", nr_free_buffer_pages()); |
97 | } | 97 | } |
98 | 98 | ||
99 | 99 | ||
diff --git a/arch/ia64/mm/discontig.c b/arch/ia64/mm/discontig.c index 652fee097921..c2e955ee79a8 100644 --- a/arch/ia64/mm/discontig.c +++ b/arch/ia64/mm/discontig.c | |||
@@ -666,7 +666,7 @@ void show_mem(unsigned int filter) | |||
666 | printk(KERN_INFO "%d pages swap cached\n", total_cached); | 666 | printk(KERN_INFO "%d pages swap cached\n", total_cached); |
667 | printk(KERN_INFO "Total of %ld pages in page table cache\n", | 667 | printk(KERN_INFO "Total of %ld pages in page table cache\n", |
668 | quicklist_total_size()); | 668 | quicklist_total_size()); |
669 | printk(KERN_INFO "%d free buffer pages\n", nr_free_buffer_pages()); | 669 | printk(KERN_INFO "%ld free buffer pages\n", nr_free_buffer_pages()); |
670 | } | 670 | } |
671 | 671 | ||
672 | /** | 672 | /** |