summaryrefslogtreecommitdiffstats
path: root/src/spl
diff options
context:
space:
mode:
Diffstat (limited to 'src/spl')
-rw-r--r--src/spl/Makefile.in10
-rw-r--r--src/spl/linux-thread.c2
2 files changed, 2 insertions, 10 deletions
diff --git a/src/spl/Makefile.in b/src/spl/Makefile.in
index 8a8674d6e..2a77394d3 100644
--- a/src/spl/Makefile.in
+++ b/src/spl/Makefile.in
@@ -1,17 +1,9 @@
# Makefile.in for spl kernel module
MODULES := spl
-
DISTFILES = Makefile.in \
linux-kmem.c linux-rwlock.c linux-taskq.c linux-thread.c
-
-EXTRA_CFLAGS += -I$(src)
-
-# Removed '-std=gnu99' does to compile issues with i386 SPIN_LOCK_UNLOCKED
-# EXTRA_CFLAGS += -Wall -Wno-unknown-pragmas -Wno-missing-braces \
-# -Wno-sign-compare -Wno-parentheses -Wno-uninitialized \
-# -Wno-implicit-function-declaration -Wno-unused -Wno-trigraphs \
-# -Wno-char-subscripts -Wno-switch
+CPPFLAGS += @KERNELCPPFLAGS@
# Solaris porting layer module
obj-m := spl.o
diff --git a/src/spl/linux-thread.c b/src/spl/linux-thread.c
index ad036471a..f3caa6365 100644
--- a/src/spl/linux-thread.c
+++ b/src/spl/linux-thread.c
@@ -1,4 +1,4 @@
-#include <sys/linux-thread.h>
+#include <linux-thread.h>
/*
* Thread interfaces