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> |
Paul Mundt | fa43972 | 2008-09-04 18:53:58 +0900 | [diff] [blame] | 13 | #include <asm/tlbflush.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | |
| 15 | /* |
| 16 | * Nothing too terribly exciting here .. |
| 17 | */ |
Paul Mundt | ea9af69 | 2006-12-25 19:28:54 +0900 | [diff] [blame] | 18 | void local_flush_tlb_all(void) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | { |
| 20 | BUG(); |
| 21 | } |
| 22 | |
Paul Mundt | ea9af69 | 2006-12-25 19:28:54 +0900 | [diff] [blame] | 23 | void local_flush_tlb_mm(struct mm_struct *mm) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | { |
| 25 | BUG(); |
| 26 | } |
| 27 | |
Paul Mundt | ea9af69 | 2006-12-25 19:28:54 +0900 | [diff] [blame] | 28 | 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] | 29 | unsigned long end) |
| 30 | { |
| 31 | BUG(); |
| 32 | } |
| 33 | |
Paul Mundt | ea9af69 | 2006-12-25 19:28:54 +0900 | [diff] [blame] | 34 | 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] | 35 | { |
| 36 | BUG(); |
| 37 | } |
| 38 | |
Paul Mundt | ea9af69 | 2006-12-25 19:28:54 +0900 | [diff] [blame] | 39 | void local_flush_tlb_one(unsigned long asid, unsigned long page) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 40 | { |
| 41 | BUG(); |
| 42 | } |
| 43 | |
Paul Mundt | ea9af69 | 2006-12-25 19:28:54 +0900 | [diff] [blame] | 44 | void local_flush_tlb_kernel_range(unsigned long start, unsigned long end) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 45 | { |
| 46 | BUG(); |
| 47 | } |
| 48 | |
Paul Mundt | 9cef749 | 2009-07-29 00:12:17 +0900 | [diff] [blame] | 49 | void __update_tlb(struct vm_area_struct *vma, unsigned long address, pte_t pte) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 50 | { |
Paul Mundt | 9cef749 | 2009-07-29 00:12:17 +0900 | [diff] [blame] | 51 | } |
| 52 | |
| 53 | void __update_cache(struct vm_area_struct *vma, |
| 54 | unsigned long address, pte_t pte) |
| 55 | { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 56 | } |
Paul Mundt | 9acb98f | 2007-12-17 10:52:11 +0900 | [diff] [blame] | 57 | |
Paul Mundt | 2739742 | 2009-08-15 09:19:19 +0900 | [diff] [blame^] | 58 | void __init kmap_coherent_init(void) |
| 59 | { |
| 60 | } |
| 61 | |
| 62 | void *kmap_coherent(struct page *page, unsigned long addr) |
| 63 | { |
| 64 | BUG(); |
| 65 | return NULL; |
| 66 | } |
| 67 | |
| 68 | void kunmap_coherent(void) |
| 69 | { |
| 70 | BUG(); |
| 71 | } |
| 72 | |
Paul Mundt | 9acb98f | 2007-12-17 10:52:11 +0900 | [diff] [blame] | 73 | void __init page_table_range_init(unsigned long start, unsigned long end, |
| 74 | pgd_t *pgd_base) |
| 75 | { |
| 76 | } |
Paul Mundt | 52e8b11 | 2007-12-18 09:43:35 +0900 | [diff] [blame] | 77 | |
| 78 | void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot) |
| 79 | { |
| 80 | } |