summaryrefslogtreecommitdiff
path: root/arch/sh/mm/tlb-nommu.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-08-15 09:57:57 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-08-15 09:57:57 +0900
commitaae4d1428c03b03f9fe6204a83e35822fe9cc591 (patch)
tree292324229a846d0c7627e46c17b0adaa7ff24ad0 /arch/sh/mm/tlb-nommu.c
parentdde5e3ffb770ef2854bbc32c51a365e932919e19 (diff)
sh: consolidate nommu stubs in arch/sh/mm/nommu.c.
These were previous littered around tlb-nommu.c and pg-nommu.c, though at this point there are more stubs than are strictly TLB or page op related, so just consolidate them in a single nommu.c. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/tlb-nommu.c')
-rw-r--r--arch/sh/mm/tlb-nommu.c75
1 files changed, 0 insertions, 75 deletions
diff --git a/arch/sh/mm/tlb-nommu.c b/arch/sh/mm/tlb-nommu.c
deleted file mode 100644
index 0710ebb99b9a..000000000000
--- a/arch/sh/mm/tlb-nommu.c
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * arch/sh/mm/tlb-nommu.c
- *
- * TLB Operations for MMUless SH.
- *
- * Copyright (C) 2002 Paul Mundt
- *
- * Released under the terms of the GNU GPL v2.0.
- */
-#include <linux/kernel.h>
-#include <linux/mm.h>
-#include <asm/pgtable.h>
-#include <asm/tlbflush.h>
-
-/*
- * Nothing too terribly exciting here ..
- */
-void local_flush_tlb_all(void)
-{
- BUG();
-}
-
-void local_flush_tlb_mm(struct mm_struct *mm)
-{
- BUG();
-}
-
-void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
- unsigned long end)
-{
- BUG();
-}
-
-void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page)
-{
- BUG();
-}
-
-void local_flush_tlb_one(unsigned long asid, unsigned long page)
-{
- BUG();
-}
-
-void local_flush_tlb_kernel_range(unsigned long start, unsigned long end)
-{
- BUG();
-}
-
-void __update_tlb(struct vm_area_struct *vma, unsigned long address, pte_t pte)
-{
-}
-
-void __init kmap_coherent_init(void)
-{
-}
-
-void *kmap_coherent(struct page *page, unsigned long addr)
-{
- BUG();
- return NULL;
-}
-
-void kunmap_coherent(void)
-{
- BUG();
-}
-
-void __init page_table_range_init(unsigned long start, unsigned long end,
- pgd_t *pgd_base)
-{
-}
-
-void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot)
-{
-}