blob: 71c742b5aee313b4badeaa62ac8610086fad2522 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
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>
Paul Mundt9acb98f2007-12-17 10:52:11 +090012#include <asm/pgtable.h>
Paul Mundtfa439722008-09-04 18:53:58 +090013#include <asm/tlbflush.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070014
15/*
16 * Nothing too terribly exciting here ..
17 */
Paul Mundtea9af692006-12-25 19:28:54 +090018void local_flush_tlb_all(void)
Linus Torvalds1da177e2005-04-16 15:20:36 -070019{
20 BUG();
21}
22
Paul Mundtea9af692006-12-25 19:28:54 +090023void local_flush_tlb_mm(struct mm_struct *mm)
Linus Torvalds1da177e2005-04-16 15:20:36 -070024{
25 BUG();
26}
27
Paul Mundtea9af692006-12-25 19:28:54 +090028void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
Linus Torvalds1da177e2005-04-16 15:20:36 -070029 unsigned long end)
30{
31 BUG();
32}
33
Paul Mundtea9af692006-12-25 19:28:54 +090034void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page)
Linus Torvalds1da177e2005-04-16 15:20:36 -070035{
36 BUG();
37}
38
Paul Mundtea9af692006-12-25 19:28:54 +090039void local_flush_tlb_one(unsigned long asid, unsigned long page)
Linus Torvalds1da177e2005-04-16 15:20:36 -070040{
41 BUG();
42}
43
Paul Mundtea9af692006-12-25 19:28:54 +090044void local_flush_tlb_kernel_range(unsigned long start, unsigned long end)
Linus Torvalds1da177e2005-04-16 15:20:36 -070045{
46 BUG();
47}
48
49void update_mmu_cache(struct vm_area_struct * vma,
50 unsigned long address, pte_t pte)
51{
52 BUG();
53}
Paul Mundt9acb98f2007-12-17 10:52:11 +090054
55void __init page_table_range_init(unsigned long start, unsigned long end,
56 pgd_t *pgd_base)
57{
58}
Paul Mundt52e8b112007-12-18 09:43:35 +090059
60void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot)
61{
62}