diff options
author | Brian Behlendorf <[email protected]> | 2020-12-23 11:40:02 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2020-12-27 16:15:19 -0800 |
commit | c347fac5861e9ed736441644a97b5fa5b446998d (patch) | |
tree | 27dc780f9eed7df6e008d950c089e7434a341316 /config/kernel-fpu.m4 | |
parent | 8fbd31d761b3a311c96783f2f285ac38cfd27274 (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.m4 | 4 |
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__) || \ |