aboutsummaryrefslogtreecommitdiffstats
path: root/config/kernel-fpu.m4
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2020-12-23 11:40:02 -0800
committerBrian Behlendorf <[email protected]>2021-01-05 10:25:59 -0800
commit944180ab50dd883d9efc2efbdaee787ca8ac9607 (patch)
treef1429046ad0b247aaa950877282d9a611a05684f /config/kernel-fpu.m4
parent3075b29ca83bfe9fb7edf0ff46d13098055bdf61 (diff)
Linux 5.11 compat: conftest
Update the ZFS_LINUX_TEST_PROGRAM macro to always set the module license. As of the 5.11 kernel not setting a license has been converted from a warning to an error. Reviewed-by: Rafael Kitover <[email protected]> Reviewed-by: Coleman Kane <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #11387 Closes #11390
Diffstat (limited to 'config/kernel-fpu.m4')
-rw-r--r--config/kernel-fpu.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/config/kernel-fpu.m4 b/config/kernel-fpu.m4
index 3c7933413..4d6fe0522 100644
--- a/config/kernel-fpu.m4
+++ b/config/kernel-fpu.m4
@@ -42,7 +42,7 @@ AC_DEFUN([ZFS_AC_KERNEL_SRC_FPU], [
], [
kernel_fpu_begin();
kernel_fpu_end();
- ], [], [$ZFS_META_LICENSE])
+ ], [], [ZFS_META_LICENSE])
ZFS_LINUX_TEST_SRC([__kernel_fpu], [
#include <linux/types.h>
@@ -55,7 +55,7 @@ AC_DEFUN([ZFS_AC_KERNEL_SRC_FPU], [
], [
__kernel_fpu_begin();
__kernel_fpu_end();
- ], [], [$ZFS_META_LICENSE])
+ ], [], [ZFS_META_LICENSE])
ZFS_LINUX_TEST_SRC([fpu_internal], [
#if defined(__x86_64) || defined(__x86_64__) || \