From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mel Gorman Message-Id: <20070509082808.19219.12272.sendpatchset@skynet.skynet.ie> In-Reply-To: <20070509082748.19219.48015.sendpatchset@skynet.skynet.ie> References: <20070509082748.19219.48015.sendpatchset@skynet.skynet.ie> Subject: [PATCH 1/4] Fix alloc_zeroed_user_highpage() on m68knommu Date: Wed, 9 May 2007 09:28:08 +0100 (IST) Sender: owner-linux-mm@kvack.org Return-Path: To: akpm@linux-foundation.org Cc: linux-mm@kvack.org, Mel Gorman , apw@shadowen.org, clameter@sgi.com List-ID: The patch add-__gfp_movable-for-callers-to-flag-allocations-from-high-memory-that-may-be-migrated.patch missed updating the m68knommu architecture when alloc_zeroed_user_highpage() changed to alloc_zeroed_user_highpage_movable(). This patch fixes the problem. Signed-off-by: Mel Gorman Acked-by: Andy Whitcroft --- page.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -rup -X /usr/src/patchset-0.6/bin//dontdiff linux-2.6.21-mm1-clean/include/asm-m68knommu/page.h linux-2.6.21-mm1-001_m68knommu/include/asm-m68knommu/page.h --- linux-2.6.21-mm1-clean/include/asm-m68knommu/page.h 2007-04-26 04:08:32.000000000 +0100 +++ linux-2.6.21-mm1-001_m68knommu/include/asm-m68knommu/page.h 2007-05-08 09:27:31.000000000 +0100 @@ -22,7 +22,8 @@ #define clear_user_page(page, vaddr, pg) clear_page(page) #define copy_user_page(to, from, vaddr, pg) copy_page(to, from) -#define alloc_zeroed_user_highpage(vma, vaddr) alloc_page_vma(GFP_HIGHUSER | __GFP_ZERO, vma, vaddr) +#define __alloc_zeroed_user_highpage(movableflags, vma, vaddr) \ + alloc_page_vma(GFP_HIGHUSER | __GFP_ZERO | movableflags, vma, vaddr) #define __HAVE_ARCH_ALLOC_ZEROED_USER_HIGHPAGE /* -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org