• J
    arm64: export tishift functions to modules · 255845fc
    Jason A. Donenfeld 提交于
    Otherwise modules that use these arithmetic operations will fail to
    link. We accomplish this with the usual EXPORT_SYMBOL, which on most
    architectures goes in the .S file but the ARM64 maintainers prefer that
    insead it goes into arm64ksyms.
    
    While we're at it, we also fix this up to use SPDX, and I personally
    choose to relicense this as GPL2||BSD so that these symbols don't need
    to be export_symbol_gpl, so all modules can use the routines, since
    these are important general purpose compiler-generated function calls.
    Signed-off-by: NJason A. Donenfeld <Jason@zx2c4.com>
    Reported-by: NPaX Team <pageexec@freemail.hu>
    Cc: stable@vger.kernel.org
    Signed-off-by: NWill Deacon <will.deacon@arm.com>
    255845fc
arm64ksyms.c 2.2 KB