]> git.ipfire.org Git - people/arne_f/kernel.git/blob - arch/cris/include/arch-v10/arch/tlb.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[people/arne_f/kernel.git] / arch / cris / include / arch-v10 / arch / tlb.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _CRIS_ARCH_TLB_H
3 #define _CRIS_ARCH_TLB_H
4
5 /* The TLB can host up to 64 different mm contexts at the same time.
6 * The last page_id is never running - it is used as an invalid page_id
7 * so we can make TLB entries that will never match.
8 */
9 #define NUM_TLB_ENTRIES 64
10 #define NUM_PAGEID 64
11 #define INVALID_PAGEID 63
12 #define NO_CONTEXT -1
13
14 #endif