Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compact: add check for kernel_neon_* availability #15711

Merged
merged 1 commit into from
Jan 9, 2024

Commits on Dec 26, 2023

  1. compact: 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).
    
    Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
    Harry-Chen committed Dec 26, 2023
    Configuration menu
    Copy the full SHA
    b47f688 View commit details
    Browse the repository at this point in the history