Page MenuHomeFreeBSD

D49448.diff
No OneTemporary

D49448.diff

diff --git a/sys/compat/linuxkpi/common/include/linux/cpufeature.h b/sys/compat/linuxkpi/common/include/linux/cpufeature.h
--- a/sys/compat/linuxkpi/common/include/linux/cpufeature.h
+++ b/sys/compat/linuxkpi/common/include/linux/cpufeature.h
@@ -30,7 +30,13 @@
#ifndef _LINUXKPI_LINUX_CPUFEATURE_H_
#define _LINUXKPI_LINUX_CPUFEATURE_H_
-// #include <linux/init.h>
+/*
+ * Linux includes the following header. We don't have it on FreeBSD yet, so
+ * let's comment this include for now. It is still referenced here because
+ * sometimes, consumers of headers rely voluntarily or not on the namespace
+ * pollution.
+ */
+/* #include <linux/init.h> */
#include <linux/mod_devicetable.h>
#include <asm/cpufeature.h>

File Metadata

Mime Type
text/plain
Expires
Fri, Jul 24, 4:01 AM (12 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35429218
Default Alt Text
D49448.diff (723 B)

Event Timeline