xref: /openbmc/linux/arch/xtensa/include/asm/tlb.h (revision b02afe1df518369dd322f48b49e50efc49250575)
1367b8112SChris Zankel /*
2367b8112SChris Zankel  * include/asm-xtensa/tlb.h
3367b8112SChris Zankel  *
4367b8112SChris Zankel  * This file is subject to the terms and conditions of the GNU General Public
5367b8112SChris Zankel  * License.  See the file "COPYING" in the main directory of this archive
6367b8112SChris Zankel  * for more details.
7367b8112SChris Zankel  *
8367b8112SChris Zankel  * Copyright (C) 2001 - 2005 Tensilica Inc.
9367b8112SChris Zankel  */
10367b8112SChris Zankel 
11367b8112SChris Zankel #ifndef _XTENSA_TLB_H
12367b8112SChris Zankel #define _XTENSA_TLB_H
13367b8112SChris Zankel 
14367b8112SChris Zankel #include <asm/cache.h>
15367b8112SChris Zankel #include <asm/page.h>
16367b8112SChris Zankel 
17367b8112SChris Zankel #include <asm-generic/tlb.h>
18367b8112SChris Zankel 
199e1b32caSBenjamin Herrenschmidt #define __pte_free_tlb(tlb, pte, address)	pte_free((tlb)->mm, pte)
20367b8112SChris Zankel 
21*25b9a3caSRandy Dunlap void check_tlb_sanity(void);
22*25b9a3caSRandy Dunlap 
23367b8112SChris Zankel #endif	/* _XTENSA_TLB_H */
24