microblaze: Define tlb_flush macro
[linux-2.6/mini2440.git] / arch / microblaze / include / asm / tlb.h
blobe8abd4a0349c381f45d1daeb7972db0235fd3e12
1 /*
2 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
3 * Copyright (C) 2008-2009 PetaLogix
4 * Copyright (C) 2006 Atmark Techno, Inc.
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 */
11 #ifndef _ASM_MICROBLAZE_TLB_H
12 #define _ASM_MICROBLAZE_TLB_H
14 #define tlb_flush(tlb) flush_tlb_mm((tlb)->mm)
16 #include <asm-generic/tlb.h>
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
24 #endif /* _ASM_MICROBLAZE_TLB_H */