Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 216f26b0 authored by Jason A. Donenfeld's avatar Jason A. Donenfeld Committed by Alexander Alexeev
Browse files

FROMGIT: arm64: export tishift functions to modules



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: default avatarJason A. Donenfeld <Jason@zx2c4.com>
Reported-by: default avatarPaX Team <pageexec@freemail.hu>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
(cherry picked from commit 255845fc43a3aaf806852a1d3bc89bff1411ebe3)
Signed-off-by: default avatarNathan Chancellor <natechancellor@gmail.com>
parent 6b3f991a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment