diff options
author | Anand Gadiyar <gadiyar@ti.com> | 2009-12-18 06:56:10 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-12-18 07:07:05 -0500 |
commit | 2395d66d09ce10c25b6756575c4aeb219760d1fc (patch) | |
tree | 10da4bf5978bf06a4014b9294837a31e7503e4f4 /arch | |
parent | 55639353a0035052d9ea6cfe4dde0ac7fcbb2c9f (diff) |
ARM: 5853/1: ARM: Fix build break on ARM v6 and v7
Commit 2c9b9c849 added an argument to __cpuc_flush_dcache_page
and renamed it.
Update a caller of the old function to fix this build error:
CC arch/arm/mm/copypage-v6.o
arch/arm/mm/copypage-v6.c: In function 'v6_copy_user_highpage_nonaliasing':
arch/arm/mm/copypage-v6.c:51: error: implicit declaration of function '__cpuc_flush_dcache_page'
make[1]: *** [arch/arm/mm/copypage-v6.o] Error 1
make: *** [arch/arm/mm] Error 2
Reported-by: Jinsung Yang <jsgood.yang@samsung.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mm/copypage-v6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/copypage-v6.c b/arch/arm/mm/copypage-v6.c index 841f355319bf..0fa1319273de 100644 --- a/arch/arm/mm/copypage-v6.c +++ b/arch/arm/mm/copypage-v6.c | |||
@@ -48,7 +48,7 @@ static void v6_copy_user_highpage_nonaliasing(struct page *to, | |||
48 | */ | 48 | */ |
49 | if (page_address(to) != NULL) | 49 | if (page_address(to) != NULL) |
50 | #endif | 50 | #endif |
51 | __cpuc_flush_dcache_page(kto); | 51 | __cpuc_flush_dcache_area(kto, PAGE_SIZE); |
52 | kunmap_atomic(kto, KM_USER1); | 52 | kunmap_atomic(kto, KM_USER1); |
53 | kunmap_atomic(kfrom, KM_USER0); | 53 | kunmap_atomic(kfrom, KM_USER0); |
54 | } | 54 | } |