tlb.h 713 字节
Newer Older
1
/*
2 3
 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
 * Copyright (C) 2008-2009 PetaLogix
4 5 6 7 8 9 10 11 12 13
 * Copyright (C) 2006 Atmark Techno, Inc.
 *
 * This file is subject to the terms and conditions of the GNU General Public
 * License. See the file "COPYING" in the main directory of this archive
 * for more details.
 */

#ifndef _ASM_MICROBLAZE_TLB_H
#define _ASM_MICROBLAZE_TLB_H

14
#define tlb_flush(tlb)	flush_tlb_mm((tlb)->mm)
15

M
Michal Simek 已提交
16
#include <linux/pagemap.h>
17 18
#include <asm-generic/tlb.h>

19 20 21 22 23 24
#ifdef CONFIG_MMU
#define tlb_start_vma(tlb, vma)		do { } while (0)
#define tlb_end_vma(tlb, vma)		do { } while (0)
#define __tlb_remove_tlb_entry(tlb, pte, address) do { } while (0)
#endif

25
#endif /* _ASM_MICROBLAZE_TLB_H */