[ARM] fix StrongARM-11x0 page copy implementation
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 18 Jan 2009 16:24:19 +0000 (16:24 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 24 Jan 2009 11:41:17 +0000 (11:41 +0000)
Which had the 'from' and 'to' pages reversed.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/copypage-v4mc.c

index bdb5fd983b154a1fca231be95065ef772ec73404..1601698b9800fa04cac49e5982d530dbb4284931 100644 (file)
@@ -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);