Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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> |
Paul Mundt | 9acb98f | 2007-12-17 10:52:11 +0900 | [diff] [blame] | 12 | #include <asm/pgtable.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | |
| 14 | /* |
| 15 | * Nothing too terribly exciting here .. |
| 16 | */ |
Paul Mundt | ea9af69 | 2006-12-25 19:28:54 +0900 | [diff] [blame] | 17 | void local_flush_tlb_all(void) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | { |
| 19 | BUG(); |
| 20 | } |
| 21 | |
Paul Mundt | ea9af69 | 2006-12-25 19:28:54 +0900 | [diff] [blame] | 22 | void local_flush_tlb_mm(struct mm_struct *mm) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | { |
| 24 | BUG(); |
| 25 | } |
| 26 | |
Paul Mundt | ea9af69 | 2006-12-25 19:28:54 +0900 | [diff] [blame] | 27 | void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 28 | unsigned long end) |
| 29 | { |
| 30 | BUG(); |
| 31 | } |
| 32 | |
Paul Mundt | ea9af69 | 2006-12-25 19:28:54 +0900 | [diff] [blame] | 33 | void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 34 | { |
| 35 | BUG(); |
| 36 | } |
| 37 | |
Paul Mundt | ea9af69 | 2006-12-25 19:28:54 +0900 | [diff] [blame] | 38 | void local_flush_tlb_one(unsigned long asid, unsigned long page) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 39 | { |
| 40 | BUG(); |
| 41 | } |
| 42 | |
Paul Mundt | ea9af69 | 2006-12-25 19:28:54 +0900 | [diff] [blame] | 43 | void local_flush_tlb_kernel_range(unsigned long start, unsigned long end) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 44 | { |
| 45 | BUG(); |
| 46 | } |
| 47 | |
| 48 | void update_mmu_cache(struct vm_area_struct * vma, |
| 49 | unsigned long address, pte_t pte) |
| 50 | { |
| 51 | BUG(); |
| 52 | } |
Paul Mundt | 9acb98f | 2007-12-17 10:52:11 +0900 | [diff] [blame] | 53 | |
| 54 | void __init page_table_range_init(unsigned long start, unsigned long end, |
| 55 | pgd_t *pgd_base) |
| 56 | { |
| 57 | } |
Paul Mundt | 52e8b11 | 2007-12-18 09:43:35 +0900 | [diff] [blame] | 58 | |
| 59 | void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot) |
| 60 | { |
| 61 | } |