]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] sparc: nr_free_pages() is unsigned long
authorAl Viro <viro@ftp.linux.org.uk>
Wed, 14 Mar 2007 09:18:50 +0000 (09:18 +0000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 14 Mar 2007 22:27:50 +0000 (15:27 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: William Irwin <wli@holomorphy.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/sparc/mm/init.c

index c85ddf31274790e6392e9d18ed6ef6c157ab71ef..a532922e2e3540ad6316414657cf7c6ee50c4aaa 100644 (file)
@@ -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