aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/linux/page.h
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2017-04-09 14:31:41 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2017-04-09 14:31:41 +0000
commit76fe8c9330fd32e100f0a576da5fbc993c2c9e45 (patch)
treeb4f463151367492824ee03bee8daab2c1a4ce1d7 /sys/compat/linuxkpi/common/include/linux/page.h
parent83a37350bf2f7b7736d33fb505c5ae288644e556 (diff)
downloadsrc-76fe8c9330fd32e100f0a576da5fbc993c2c9e45.tar.gz
src-76fe8c9330fd32e100f0a576da5fbc993c2c9e45.zip
Fix compilation of LinuxKPI for PowerPC.
Found by: emaste @ MFC after: 1 week Sponsored by: Mellanox Technologies
Notes
Notes: svn path=/head/; revision=316656
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/page.h')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/page.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/page.h b/sys/compat/linuxkpi/common/include/linux/page.h
index a40308e44dee..dbe3f0632fa7 100644
--- a/sys/compat/linuxkpi/common/include/linux/page.h
+++ b/sys/compat/linuxkpi/common/include/linux/page.h
@@ -40,9 +40,9 @@
#include <vm/vm_page.h>
#include <vm/pmap.h>
-typedef unsigned long pte_t;
-typedef unsigned long pmd_t;
-typedef unsigned long pgd_t;
+typedef unsigned long linux_pte_t;
+typedef unsigned long linux_pmd_t;
+typedef unsigned long linux_pgd_t;
typedef unsigned long pgprot_t;
#define page vm_page