From: Al Viro Date: Wed, 14 Mar 2007 09:18:50 +0000 (+0000) Subject: [PATCH] sparc: nr_free_pages() is unsigned long X-Git-Tag: v2.6.21-rc4~19 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f0f0d0c691e13a67709ab3b43137ff83210c2c10;p=linux-2.6-omap-h63xx.git [PATCH] sparc: nr_free_pages() is unsigned long Signed-off-by: Al Viro Acked-by: William Irwin Signed-off-by: Linus Torvalds --- diff --git a/arch/sparc/mm/init.c b/arch/sparc/mm/init.c index c85ddf31274..a532922e2e3 100644 --- a/arch/sparc/mm/init.c +++ b/arch/sparc/mm/init.c @@ -75,7 +75,7 @@ void show_mem(void) printk("Free swap: %6ldkB\n", nr_swap_pages << (PAGE_SHIFT-10)); printk("%ld pages of RAM\n", totalram_pages); - printk("%d free pages\n", nr_free_pages()); + printk("%ld free pages\n", nr_free_pages()); #if 0 /* undefined pgtable_cache_size, pgd_cache_size */ printk("%ld pages in page table cache\n",pgtable_cache_size); #ifndef CONFIG_SMP