Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | #ifndef _CRIS_TLB_H |
| 3 | #define _CRIS_TLB_H |
| 4 | |
Jesper Nilsson | ebd33e1 | 2007-11-14 17:01:28 -0800 | [diff] [blame] | 5 | #include <linux/pagemap.h> |
| 6 | |
Jesper Nilsson | 556dcee | 2008-10-21 17:45:58 +0200 | [diff] [blame] | 7 | #include <arch/tlb.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | |
| 9 | /* |
| 10 | * cris doesn't need any special per-pte or |
| 11 | * per-vma handling.. |
| 12 | */ |
| 13 | #define tlb_start_vma(tlb, vma) do { } while (0) |
| 14 | #define tlb_end_vma(tlb, vma) do { } while (0) |
| 15 | #define __tlb_remove_tlb_entry(tlb, ptep, address) do { } while (0) |
| 16 | |
| 17 | #define tlb_flush(tlb) flush_tlb_mm((tlb)->mm) |
| 18 | #include <asm-generic/tlb.h> |
| 19 | |
| 20 | #endif |