From: Russell King Date: Sun, 18 Jan 2009 16:24:19 +0000 (+0000) Subject: [ARM] fix StrongARM-11x0 page copy implementation X-Git-Tag: v5.15~35446^2~9 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=7dd8c4f3526b16edb1a3f4edb4665a8fa6e632d8;p=mirror_ubuntu-kernels.git [ARM] fix StrongARM-11x0 page copy implementation Which had the 'from' and 'to' pages reversed. Signed-off-by: Russell King --- diff --git a/arch/arm/mm/copypage-v4mc.c b/arch/arm/mm/copypage-v4mc.c index bdb5fd983b15..1601698b9800 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);