summaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/copypage-v4mc.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-05-17 00:36:22 +0200
committerRussell King <rmk@dyn-67.arm.linux.org.uk>2005-05-17 00:36:22 +0200
commit8711a1b902e691c9b3bbd0d0624f836abe9641ca (patch)
tree588af68788e56f7e0e6132e52c35af4abcdb4c93 /arch/arm/mm/copypage-v4mc.c
parentAutomatic merge of master.kernel.org:/home/rmk/linux-2.6-serial.git (diff)
downloadlinux-8711a1b902e691c9b3bbd0d0624f836abe9641ca.tar.xz
linux-8711a1b902e691c9b3bbd0d0624f836abe9641ca.zip
[PATCH] ARM: Fix build error
Mainline kernels don't have VECTORS_HIGH nor COPYPAGE_MINICACHE yet. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/copypage-v4mc.c')
-rw-r--r--arch/arm/mm/copypage-v4mc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mm/copypage-v4mc.c b/arch/arm/mm/copypage-v4mc.c
index 16384a7600a1..fc69dccdace1 100644
--- a/arch/arm/mm/copypage-v4mc.c
+++ b/arch/arm/mm/copypage-v4mc.c
@@ -71,10 +71,10 @@ void v4_mc_copy_user_page(void *kto, const void *kfrom, unsigned long vaddr)
{
spin_lock(&minicache_lock);
- set_pte(TOP_PTE(COPYPAGE_MINICACHE), pfn_pte(__pa(kfrom) >> PAGE_SHIFT, minicache_pgprot));
- flush_tlb_kernel_page(COPYPAGE_MINICACHE);
+ set_pte(TOP_PTE(0xffff8000), pfn_pte(__pa(kfrom) >> PAGE_SHIFT, minicache_pgprot));
+ flush_tlb_kernel_page(0xffff8000);
- mc_copy_user_page((void *)COPYPAGE_MINICACHE, kto);
+ mc_copy_user_page((void *)0xffff8000, kto);
spin_unlock(&minicache_lock);
}