aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/tlb-nommu.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-08-14 20:57:57 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-08-14 20:57:57 -0400
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 @@
1/*
2 * arch/sh/mm/tlb-nommu.c
3 *
4 * TLB Operations for MMUless SH.
5 *
6 * Copyright (C) 2002 Paul Mundt
7 *
8 * Released under the terms of the GNU GPL v2.0.
9 */
10#include <linux/kernel.h>
11#include <linux/mm.h>
12#include <asm/pgtable.h>
13#include <asm/tlbflush.h>
14
15/*
16 * Nothing too terribly exciting here ..
17 */
18void local_flush_tlb_all(void)
19{
20 BUG();
21}
22
23void local_flush_tlb_mm(struct mm_struct *mm)
24{
25 BUG();
26}
27
28void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
29 unsigned long end)
30{
31 BUG();
32}
33
34void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page)
35{
36 BUG();
37}
38
39void local_flush_tlb_one(unsigned long asid, unsigned long page)
40{
41 BUG();
42}
43
44void local_flush_tlb_kernel_range(unsigned long start, unsigned long end)
45{
46 BUG();
47}
48
49void __update_tlb(struct vm_area_struct *vma, unsigned long address, pte_t pte)
50{
51}
52
53void __init kmap_coherent_init(void)
54{
55}
56
57void *kmap_coherent(struct page *page, unsigned long addr)
58{
59 BUG();
60 return NULL;
61}
62
63void kunmap_coherent(void)
64{
65 BUG();
66}
67
68void __init page_table_range_init(unsigned long start, unsigned long end,
69 pgd_t *pgd_base)
70{
71}
72
73void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot)
74{
75}