diff --git a/config/kernel.m4 b/config/kernel.m4
index 2e232286e4..8ba0b7aa1c 100644
--- a/config/kernel.m4
+++ b/config/kernel.m4
@@ -18,7 +18,7 @@ AC_DEFUN([ZFS_AC_CONFIG_KERNEL], [
 	dnl # XXX: Quiet warnings not covered by the gcc-* patches
 	dnl # XXX: Remove once all the warnings are resolved
 	HOSTCFLAGS="$HOSTCFLAGS -Wno-switch -Wno-unused -Wno-missing-braces "
-	HOSTCFLAGS="$HOSTCFLAGS -Wno-parentheses "
+	HOSTCFLAGS="$HOSTCFLAGS -Wno-unknown-pragmas -Wno-parentheses "
 	HOSTCFLAGS="$HOSTCFLAGS -Wno-uninitialized -fno-strict-aliasing "
 
 	dnl # Expected defines not covered by zfs_config.h or spl_config.h