summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/book3s/64/radix-4k.h
blob: a61aa9cd63ec9fefa8065ca662aae4d1db486de0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_POWERPC_PGTABLE_RADIX_4K_H
#define _ASM_POWERPC_PGTABLE_RADIX_4K_H

/*
 * For 4K page size supported index is 13/9/9/9
 */
#define RADIX_PTE_INDEX_SIZE  9  /* 2MB huge page */
#define RADIX_PMD_INDEX_SIZE  9  /* 1G huge page */
#define RADIX_PUD_INDEX_SIZE	 9
#define RADIX_PGD_INDEX_SIZE  13

#endif /* _ASM_POWERPC_PGTABLE_RADIX_4K_H */