Michal Simek | a95d0e1 | 2009-03-27 14:25:29 +0100 | [diff] [blame] | 1 | /* |
Michal Simek | 45be7d4 | 2009-05-26 16:30:18 +0200 | [diff] [blame] | 2 | * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> |
| 3 | * Copyright (C) 2008-2009 PetaLogix |
Michal Simek | a95d0e1 | 2009-03-27 14:25:29 +0100 | [diff] [blame] | 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 | |
Michal Simek | efffde3 | 2009-07-09 11:33:39 +0200 | [diff] [blame] | 14 | #define tlb_flush(tlb) flush_tlb_mm((tlb)->mm) |
Michal Simek | a95d0e1 | 2009-03-27 14:25:29 +0100 | [diff] [blame] | 15 | |
| 16 | #include <asm-generic/tlb.h> |
| 17 | |
Michal Simek | 45be7d4 | 2009-05-26 16:30:18 +0200 | [diff] [blame] | 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 | |
Michal Simek | a95d0e1 | 2009-03-27 14:25:29 +0100 | [diff] [blame] | 24 | #endif /* _ASM_MICROBLAZE_TLB_H */ |