Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> |
| 3 | * Copyright (C) 2008-2009 PetaLogix |
| 4 | * Copyright (C) 2006 Atmark Techno, Inc. |
| 5 | * |
| 6 | * This file is subject to the terms and conditions of the GNU General Public |
| 7 | * License. See the file "COPYING" in the main directory of this archive |
| 8 | * for more details. |
| 9 | */ |
| 10 | |
| 11 | #ifndef _ASM_MICROBLAZE_TLB_H |
| 12 | #define _ASM_MICROBLAZE_TLB_H |
| 13 | |
| 14 | #define tlb_flush(tlb) flush_tlb_mm((tlb)->mm) |
| 15 | |
| 16 | #include <linux/pagemap.h> |
| 17 | |
| 18 | #ifdef CONFIG_MMU |
| 19 | #define tlb_start_vma(tlb, vma) do { } while (0) |
| 20 | #define tlb_end_vma(tlb, vma) do { } while (0) |
| 21 | #define __tlb_remove_tlb_entry(tlb, pte, address) do { } while (0) |
| 22 | #endif |
| 23 | |
| 24 | #include <asm-generic/tlb.h> |
| 25 | |
| 26 | #endif /* _ASM_MICROBLAZE_TLB_H */ |