From 7dd8c4f3526b16edb1a3f4edb4665a8fa6e632d8 Mon Sep 17 00:00:00 2001 From: Russell King Date: Sun, 18 Jan 2009 16:24:19 +0000 Subject: [ARM] fix StrongARM-11x0 page copy implementation Which had the 'from' and 'to' pages reversed. Signed-off-by: Russell King --- arch/arm/mm/copypage-v4mc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mm/copypage-v4mc.c b/arch/arm/mm/copypage-v4mc.c index bdb5fd983b1..1601698b980 100644 --- a/arch/arm/mm/copypage-v4mc.c +++ b/arch/arm/mm/copypage-v4mc.c @@ -68,7 +68,7 @@ mc_copy_user_page(void *from, void *to) : "r" (from), "r" (to), "I" (PAGE_SIZE / 64)); } -void v4_mc_copy_user_highpage(struct page *from, struct page *to, +void v4_mc_copy_user_highpage(struct page *to, struct page *from, unsigned long vaddr) { void *kto = kmap_atomic(to, KM_USER1); -- cgit v1.2.3