1
2 #ifndef _ASM_POWERPC_NOHASH_32_SLICE_H
3 #define _ASM_POWERPC_NOHASH_32_SLICE_H
4
5 #ifdef CONFIG_PPC_MM_SLICES
6
7 #define SLICE_LOW_SHIFT 26
8 #define SLICE_LOW_TOP (0x100000000ull)
9 #define SLICE_NUM_LOW (SLICE_LOW_TOP >> SLICE_LOW_SHIFT)
10 #define GET_LOW_SLICE_INDEX(addr) ((addr) >> SLICE_LOW_SHIFT)
11
12 #define SLICE_HIGH_SHIFT 0
13 #define SLICE_NUM_HIGH 0ul
14 #define GET_HIGH_SLICE_INDEX(addr) (addr & 0)
15
16 #define SLB_ADDR_LIMIT_DEFAULT DEFAULT_MAP_WINDOW
17
18 #endif
19
20 #endif