Linux 5.6.13
[linux/fpc-iii.git] / arch / riscv / include / asm / pgtable-32.h
blobb0ab66e5fdb1d54e25bd2c7ede74e2187f9cb6d1
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) 2012 Regents of the University of California
4 */
6 #ifndef _ASM_RISCV_PGTABLE_32_H
7 #define _ASM_RISCV_PGTABLE_32_H
9 #include <asm-generic/pgtable-nopmd.h>
10 #include <linux/const.h>
12 /* Size of region mapped by a page global directory */
13 #define PGDIR_SHIFT 22
14 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT)
15 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
17 #endif /* _ASM_RISCV_PGTABLE_32_H */