summaryrefslogtreecommitdiffstats
path: root/include/asm-sh
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh')
-rw-r--r--include/asm-sh/mmu_context.h3
-rw-r--r--include/asm-sh/pgtable.h4
2 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-sh/mmu_context.h b/include/asm-sh/mmu_context.h
index e16a7d775..b90be6fbd 100644
--- a/include/asm-sh/mmu_context.h
+++ b/include/asm-sh/mmu_context.h
@@ -11,6 +11,9 @@
(b) ASID (Address Space IDentifier)
*/
+static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu)
+{
+}
/*
* Cache of MMU context last used.
*/
diff --git a/include/asm-sh/pgtable.h b/include/asm-sh/pgtable.h
index 97a9a3ad8..cd6dc704a 100644
--- a/include/asm-sh/pgtable.h
+++ b/include/asm-sh/pgtable.h
@@ -57,6 +57,10 @@ extern void flush_tlb_mm(struct mm_struct *mm);
extern void flush_tlb_range(struct mm_struct *mm, unsigned long start,
unsigned long end);
extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long page);
+extern inline void flush_tlb_pgtables(struct mm_struct *mm,
+ unsigned long start, unsigned long end)
+{
+}
/*
* Basically we have the same two-level (which is the logical three level