Skip to contentSkip to conversation

sparc: nr_free_pages() is unsigned long

PATCH In review Al Viro 3 participants 3 messages Mar 14, 2007 – Mar 15, 2007 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 6/17 sparc: nr_free_pages() is unsigned long

---
 arch/sparc/mm/init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/sparc/mm/init.c +1 -1
index c85ddf3..a532922 100644
@@ -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
Signature · 1 line
1.5.0-rc2.GIT
maintainer
#2 lore raw

From: William Lee Irwin III <[email protected]>
Date: Wed, 14 Mar 2007 08:06:12 -0700

Quoted 9 lines · Al Viro
Quoted 4 lines
---
 arch/sparc/mm/init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Dave, I trust you'll pick it up until I get a git tree going.

What usually happens when Al sends a set like this is that Linus picks it up directly, and I've just verified that this is in fact what has happened this time too :-)