Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151371108
D55734.id173386.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
635 B
Referenced Files
None
Subscribers
None
D55734.id173386.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/asm/pgtable.h b/sys/compat/linuxkpi/common/include/asm/pgtable.h
--- a/sys/compat/linuxkpi/common/include/asm/pgtable.h
+++ b/sys/compat/linuxkpi/common/include/asm/pgtable.h
@@ -53,6 +53,21 @@
#define _PAGE_PWT (((pteval_t) 1) << _PAGE_BIT_PWT)
#define _PAGE_PCD (((pteval_t) 1) << _PAGE_BIT_PCD)
#define _PAGE_PAT (((pteval_t) 1) << _PAGE_BIT_PAT)
+
+#define PMD_SHIFT 21
+
+#elif defined(__aarch64__)
+
+#define PMD_SHIFT 21
+
+#elif defined(__powerpc__)
+
+#define PMD_SHIFT 21
+
+#elif defined(__riscv)
+
+#define PMD_SHIFT 21
+
#endif
#endif /* _LINUXKPI_ASM_PGTABLE_H_ */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 8, 10:56 PM (6 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29457074
Default Alt Text
D55734.id173386.diff (635 B)
Attached To
Mode
D55734: linuxkpi: Define `PMD_SHIFT`
Attached
Detach File
Event Timeline
Log In to Comment