|
@@ -63,6 +63,13 @@ extern void __chk_io_ptr(const volatile void __iomem *);
|
|
# include <linux/compiler-intel.h>
|
|
# include <linux/compiler-intel.h>
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+/* Clang compiler defines __GNUC__. So we will overwrite implementations
|
|
|
|
+ * coming from above header files here
|
|
|
|
+ */
|
|
|
|
+#ifdef __clang__
|
|
|
|
+#include <linux/compiler-clang.h>
|
|
|
|
+#endif
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* Generic compiler-dependent macros required for kernel
|
|
* Generic compiler-dependent macros required for kernel
|
|
* build go below this comment. Actual compiler/compiler version
|
|
* build go below this comment. Actual compiler/compiler version
|