WIP FPC-III support
[linux/fpc-iii.git] / arch / riscv / include / asm / pgtable-32.h
blob5b2e79e5bfa5bf8af384e64e3ca1888b2ff4df92
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 #define MAX_POSSIBLE_PHYSMEM_BITS 34
19 #endif /* _ASM_RISCV_PGTABLE_32_H */