Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile
[sfrench/cifs-2.6.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