diff options
author | Shengqi Chen <[email protected]> | 2024-01-09 08:05:24 +0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2024-01-12 12:38:27 -0800 |
commit | 976bf9b6a61919638d42ed79cd207132785d128a (patch) | |
tree | 7d364d46302e0deb959526c033cfc3d55ede8fbc /module/zfs/zfs_vnops.c | |
parent | f71c16a66126b7a1896b3b0c59a42a7b9186e56b (diff) |
Linux 6.2 compat: add check for kernel_neon_* availability
This patch adds check for `kernel_neon_*` symbols on arm and arm64
platforms to address the following issues:
1. Linux 6.2+ on arm64 has exported them with `EXPORT_SYMBOL_GPL`, so
license compatibility must be checked before use.
2. On both arm and arm64, the definitions of these symbols are guarded
by `CONFIG_KERNEL_MODE_NEON`, but their declarations are still
present. Checking in configuration phase only leads to MODPOST
errors (undefined references).
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Shengqi Chen <[email protected]>
Closes #15711
Closes #14555
Closes: #15401
Diffstat (limited to 'module/zfs/zfs_vnops.c')
0 files changed, 0 insertions, 0 deletions