Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156372089
D36970.id111740.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
823 B
Referenced Files
None
Subscribers
None
D36970.id111740.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/mman.h b/sys/compat/linuxkpi/common/include/linux/mman.h
new file mode 100644
--- /dev/null
+++ b/sys/compat/linuxkpi/common/include/linux/mman.h
@@ -0,0 +1,10 @@
+#ifndef _LINUX_MMAN_H
+#define _LINUX_MMAN_H
+
+/*
+ * In Linux, <linux/mman.h> includes <linux/percpu_counter.h>, which includes
+ * <linux/smp.h>.
+ */
+#include <linux/smp.h>
+
+#endif /* _LINUX_MMAN_H */
diff --git a/sys/compat/linuxkpi/common/include/linux/smp.h b/sys/compat/linuxkpi/common/include/linux/smp.h
--- a/sys/compat/linuxkpi/common/include/linux/smp.h
+++ b/sys/compat/linuxkpi/common/include/linux/smp.h
@@ -29,6 +29,8 @@
#ifndef _LINUXKPI_LINUX_SMP_H_
#define _LINUXKPI_LINUX_SMP_H_
+#include <asm/smp.h>
+
/*
* Important note about the use of the function provided below:
*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 14, 1:48 AM (5 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33029631
Default Alt Text
D36970.id111740.diff (823 B)
Attached To
Mode
D36970: linuxkpi: Add <linux/mman.h> which includes <linux/smp.h>
Attached
Detach File
Event Timeline
Log In to Comment