linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: fix arch/arm/mm/copypage-v6.c build
@ 2009-12-20  8:33 Mike Rapoport
  2009-12-21 23:35 ` Russell King - ARM Linux
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Rapoport @ 2009-12-20  8:33 UTC (permalink / raw)
  To: linux-arm-kernel

Commit 115b22474eb1905da2f606a057da3455833333d3 (ARM: 5794/1: Flush the
D-cache during copy_user_highpage()) breaks build for ARM v7:

  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[2]: *** [arch/arm/mm/copypage-v6.o] Error 1

Fix it.

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
---
 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 841f355..0fa1319 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,
 	 */
 	if (page_address(to) != NULL)
 #endif
-		__cpuc_flush_dcache_page(kto);
+		__cpuc_flush_dcache_area(kto, PAGE_SIZE);
 	kunmap_atomic(kto, KM_USER1);
 	kunmap_atomic(kfrom, KM_USER0);
 }
-- 
1.6.4.4



-- 
Sincerely yours,
Mike.

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-21 23:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-20  8:33 [PATCH] ARM: fix arch/arm/mm/copypage-v6.c build Mike Rapoport
2009-12-21 23:35 ` Russell King - ARM Linux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).