blob: 8aa97817cc8c6aabecc6e313a5db7d72d1aa9e99 [file] [log] [blame]
Michal Simeka95d0e12009-03-27 14:25:29 +01001/*
Michal Simek45be7d42009-05-26 16:30:18 +02002 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
3 * Copyright (C) 2008-2009 PetaLogix
Michal Simeka95d0e12009-03-27 14:25:29 +01004 * 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 Simekefffde32009-07-09 11:33:39 +020014#define tlb_flush(tlb) flush_tlb_mm((tlb)->mm)
Michal Simeka95d0e12009-03-27 14:25:29 +010015
Michal Simek1947fc12011-01-16 13:50:17 +010016#include <linux/pagemap.h>
Michal Simeka95d0e12009-03-27 14:25:29 +010017#include <asm-generic/tlb.h>
18
Michal Simek45be7d42009-05-26 16:30:18 +020019#ifdef CONFIG_MMU
20#define tlb_start_vma(tlb, vma) do { } while (0)
21#define tlb_end_vma(tlb, vma) do { } while (0)
22#define __tlb_remove_tlb_entry(tlb, pte, address) do { } while (0)
23#endif
24
Michal Simeka95d0e12009-03-27 14:25:29 +010025#endif /* _ASM_MICROBLAZE_TLB_H */