summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2009-01-18 16:24:19 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-01-24 11:41:17 +0000
commit7dd8c4f3526b16edb1a3f4edb4665a8fa6e632d8 (patch)
tree12b54dbe73f40a701d52dd7f97ad2a11e86f032e
parent953a7e8476bbd7367cebdb868c326ba42968bc13 (diff)
downloadlinux-3.10-7dd8c4f3526b16edb1a3f4edb4665a8fa6e632d8.tar.gz
linux-3.10-7dd8c4f3526b16edb1a3f4edb4665a8fa6e632d8.tar.bz2
linux-3.10-7dd8c4f3526b16edb1a3f4edb4665a8fa6e632d8.zip
[ARM] fix StrongARM-11x0 page copy implementation
Which had the 'from' and 'to' pages reversed. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/mm/copypage-v4mc.c2
1 files changed, 1 insertions, 1 deletions
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);