mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 15:58:47 +00:00
[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>
This commit is contained in:
parent
768cbfbc52
commit
8711a1b902
@ -71,10 +71,10 @@ void v4_mc_copy_user_page(void *kto, const void *kfrom, unsigned long vaddr)
|
|||||||
{
|
{
|
||||||
spin_lock(&minicache_lock);
|
spin_lock(&minicache_lock);
|
||||||
|
|
||||||
set_pte(TOP_PTE(COPYPAGE_MINICACHE), pfn_pte(__pa(kfrom) >> PAGE_SHIFT, minicache_pgprot));
|
set_pte(TOP_PTE(0xffff8000), pfn_pte(__pa(kfrom) >> PAGE_SHIFT, minicache_pgprot));
|
||||||
flush_tlb_kernel_page(COPYPAGE_MINICACHE);
|
flush_tlb_kernel_page(0xffff8000);
|
||||||
|
|
||||||
mc_copy_user_page((void *)COPYPAGE_MINICACHE, kto);
|
mc_copy_user_page((void *)0xffff8000, kto);
|
||||||
|
|
||||||
spin_unlock(&minicache_lock);
|
spin_unlock(&minicache_lock);
|
||||||
}
|
}
|
||||||
|
@ -685,7 +685,7 @@ void __init memtable_init(struct meminfo *mi)
|
|||||||
flush_cache_all();
|
flush_cache_all();
|
||||||
flush_tlb_all();
|
flush_tlb_all();
|
||||||
|
|
||||||
top_pmd = pmd_off_k(VECTORS_HIGH);
|
top_pmd = pmd_off_k(0xffff0000);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user