sh: rework nommu for generic cache.c use.
This does a bit of reorganizing for allowing nommu to use the new and generic cache.c, no functional changes. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
@@ -14,10 +14,10 @@
|
||||
#include <asm/page.h>
|
||||
#include <asm/processor.h>
|
||||
|
||||
#ifdef CONFIG_MMU
|
||||
unsigned long shm_align_mask = PAGE_SIZE - 1; /* Sane caches */
|
||||
EXPORT_SYMBOL(shm_align_mask);
|
||||
|
||||
#ifdef CONFIG_MMU
|
||||
/*
|
||||
* To avoid cache aliases, we map the shared page with same color.
|
||||
*/
|
||||
|
@@ -50,11 +50,6 @@ void __update_tlb(struct vm_area_struct *vma, unsigned long address, pte_t pte)
|
||||
{
|
||||
}
|
||||
|
||||
void __update_cache(struct vm_area_struct *vma,
|
||||
unsigned long address, pte_t pte)
|
||||
{
|
||||
}
|
||||
|
||||
void __init kmap_coherent_init(void)
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user