mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
New CRIS sub architecture named v32. From: Dave Jones <[email protected]> Fix swapped kmalloc args Signed-off-by: Mikael Starvik <[email protected]> Signed-off-by: Dave Jones <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
15 lines
414 B
C
15 lines
414 B
C
#ifndef _CRIS_ARCH_TLB_H
|
|
#define _CRIS_ARCH_TLB_H
|
|
|
|
/*
|
|
* The TLB is a 64-entry cache. Each entry has a 8-bit page_id that is used
|
|
* to store the "process" it belongs to (=> fast mm context switch). The
|
|
* last page_id is never used so we can make TLB entries that never matches.
|
|
*/
|
|
#define NUM_TLB_ENTRIES 64
|
|
#define NUM_PAGEID 256
|
|
#define INVALID_PAGEID 255
|
|
#define NO_CONTEXT -1
|
|
|
|
#endif /* _CRIS_ARCH_TLB_H */
|