[PATCH] sparc: nr_free_pages() is unsigned long
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>
This commit is contained in:
parent
abad95f736
commit
f0f0d0c691
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue