Index: linux-2.6.15-rc5-mm2/mm/vmscan.c =================================================================== --- linux-2.6.15-rc5-mm2.orig/mm/vmscan.c 2005-12-13 22:04:27.000000000 -0800 +++ linux-2.6.15-rc5-mm2/mm/vmscan.c 2005-12-13 22:05:19.000000000 -0800 @@ -1847,8 +1847,8 @@ int zone_reclaim(struct zone *zone, gfp_ * doing the scan. */ - printk(KERN_ERR "zone_reclaim PAGECACHE=%d MAPPED=%d nr_pages=%d\n", - zone_page_state(zone, NR_PAGECACHE), zone_page_state(zone,NR_MAPPED), nr_pages); + printk(KERN_ERR "zone_reclaim PAGECACHE=%ld MAPPED=%ld nr_pages=%ld\n", + zone_page_state(zone, NR_PAGECACHE), zone_page_state(zone, NR_MAPPED), nr_pages); if (zone_page_state(zone, NR_PAGECACHE) <= zone_page_state(zone, NR_MAPPED) + nr_pages) @@ -1872,7 +1872,7 @@ int zone_reclaim(struct zone *zone, gfp_ p->reclaim_state = NULL; current->flags &= ~PF_MEMALLOC; cond_resched(); - printk(KERN_ERR "Reclaimed %d pages\n", sc.nr_reclaimed); + printk(KERN_ERR "Reclaimed %ld pages\n", sc.nr_reclaimed); return sc.nr_reclaimed >= (1 << order); } #endif