Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _H8300_TLBFLUSH_H |
| 2 | #define _H8300_TLBFLUSH_H |
| 3 | |
| 4 | /* |
| 5 | * Copyright (C) 2000 Lineo, David McCullough <davidm@uclinux.org> |
| 6 | * Copyright (C) 2000-2002, Greg Ungerer <gerg@snapgear.com> |
| 7 | */ |
| 8 | |
| 9 | #include <asm/setup.h> |
| 10 | |
| 11 | /* |
| 12 | * flush all user-space atc entries. |
| 13 | */ |
| 14 | static inline void __flush_tlb(void) |
| 15 | { |
| 16 | BUG(); |
| 17 | } |
| 18 | |
| 19 | static inline void __flush_tlb_one(unsigned long addr) |
| 20 | { |
| 21 | BUG(); |
| 22 | } |
| 23 | |
| 24 | #define flush_tlb() __flush_tlb() |
| 25 | |
| 26 | /* |
| 27 | * flush all atc entries (both kernel and user-space entries). |
| 28 | */ |
| 29 | static inline void flush_tlb_all(void) |
| 30 | { |
| 31 | BUG(); |
| 32 | } |
| 33 | |
| 34 | static inline void flush_tlb_mm(struct mm_struct *mm) |
| 35 | { |
| 36 | BUG(); |
| 37 | } |
| 38 | |
| 39 | static inline void flush_tlb_page(struct vm_area_struct *vma, unsigned long addr) |
| 40 | { |
| 41 | BUG(); |
| 42 | } |
| 43 | |
| 44 | static inline void flush_tlb_range(struct mm_struct *mm, |
| 45 | unsigned long start, unsigned long end) |
| 46 | { |
| 47 | BUG(); |
| 48 | } |
| 49 | |
Adrian Bunk | 219576e | 2006-12-06 20:40:22 -0800 | [diff] [blame] | 50 | static inline void flush_tlb_kernel_page(unsigned long addr) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 51 | { |
| 52 | BUG(); |
| 53 | } |
| 54 | |
Adrian Bunk | 219576e | 2006-12-06 20:40:22 -0800 | [diff] [blame] | 55 | static inline void flush_tlb_pgtables(struct mm_struct *mm, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 56 | unsigned long start, unsigned long end) |
| 57 | { |
| 58 | BUG(); |
| 59 | } |
| 60 | |
| 61 | #endif /* _H8300_TLBFLUSH_H */ |