| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* | 
|  | 2 | * include/asm-v850/tlbflush.h | 
|  | 3 | * | 
|  | 4 | *  Copyright (C) 2001,02,03  NEC Electronics Corporation | 
|  | 5 | *  Copyright (C) 2001,02,03  Miles Bader <miles@gnu.org> | 
|  | 6 | * | 
|  | 7 | * This file is subject to the terms and conditions of the GNU General | 
|  | 8 | * Public License.  See the file COPYING in the main directory of this | 
|  | 9 | * archive for more details. | 
|  | 10 | * | 
|  | 11 | * Written by Miles Bader <miles@gnu.org> | 
|  | 12 | */ | 
|  | 13 |  | 
|  | 14 | #ifndef __V850_TLBFLUSH_H__ | 
|  | 15 | #define __V850_TLBFLUSH_H__ | 
|  | 16 |  | 
|  | 17 | #include <asm/machdep.h> | 
|  | 18 |  | 
|  | 19 |  | 
|  | 20 | /* | 
|  | 21 | * flush all user-space atc entries. | 
|  | 22 | */ | 
|  | 23 | static inline void __flush_tlb(void) | 
|  | 24 | { | 
|  | 25 | BUG (); | 
|  | 26 | } | 
|  | 27 |  | 
|  | 28 | static inline void __flush_tlb_one(unsigned long addr) | 
|  | 29 | { | 
|  | 30 | BUG (); | 
|  | 31 | } | 
|  | 32 |  | 
|  | 33 | #define flush_tlb() __flush_tlb() | 
|  | 34 |  | 
|  | 35 | /* | 
|  | 36 | * flush all atc entries (both kernel and user-space entries). | 
|  | 37 | */ | 
|  | 38 | static inline void flush_tlb_all(void) | 
|  | 39 | { | 
|  | 40 | BUG (); | 
|  | 41 | } | 
|  | 42 |  | 
|  | 43 | static inline void flush_tlb_mm(struct mm_struct *mm) | 
|  | 44 | { | 
|  | 45 | BUG (); | 
|  | 46 | } | 
|  | 47 |  | 
|  | 48 | static inline void flush_tlb_page(struct vm_area_struct *vma, unsigned long addr) | 
|  | 49 | { | 
|  | 50 | BUG (); | 
|  | 51 | } | 
|  | 52 |  | 
|  | 53 | static inline void flush_tlb_range(struct vm_area_struct *vma, | 
|  | 54 | unsigned long start, unsigned long end) | 
|  | 55 | { | 
|  | 56 | BUG (); | 
|  | 57 | } | 
|  | 58 |  | 
| Adrian Bunk | 23f88fe | 2005-11-07 00:59:00 -0800 | [diff] [blame] | 59 | static inline void flush_tlb_kernel_page(unsigned long addr) | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 60 | { | 
|  | 61 | BUG (); | 
|  | 62 | } | 
|  | 63 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 64 | #endif /* __V850_TLBFLUSH_H__ */ |