diff options
author | Julien Thierry <jthierry@redhat.com> | 2021-03-03 20:05:32 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-05-27 19:38:30 +0300 |
commit | 72fd723694b6f4f1d1f19f673fb93801d7d1a0e8 (patch) | |
tree | b02d8485e33d912580789c3febd6bb90aecc01a3 /arch/arm64/lib/Makefile | |
parent | 633e5e938fea957577e6db33540a78debf0c5cbe (diff) | |
download | linux-72fd723694b6f4f1d1f19f673fb93801d7d1a0e8.tar.xz |
arm64: Move instruction encoder/decoder under lib/
Aarch64 instruction set encoding and decoding logic can prove useful
for some features/tools both part of the kernel and outside the kernel.
Isolate the function dealing only with encoding/decoding instructions,
with minimal dependency on kernel utilities in order to be able to reuse
that code.
Code was only moved, no code should have been added, removed nor
modifier.
Signed-off-by: Julien Thierry <jthierry@redhat.com>
Link: https://lore.kernel.org/r/20210303170536.1838032-5-jthierry@redhat.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/lib/Makefile')
-rw-r--r-- | arch/arm64/lib/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm64/lib/Makefile b/arch/arm64/lib/Makefile index d31e1169d9b8..9cd83908717d 100644 --- a/arch/arm64/lib/Makefile +++ b/arch/arm64/lib/Makefile @@ -1,9 +1,9 @@ # SPDX-License-Identifier: GPL-2.0 lib-y := clear_user.o delay.o copy_from_user.o \ copy_to_user.o copy_in_user.o copy_page.o \ - clear_page.o csum.o memchr.o memcpy.o memmove.o \ - memset.o memcmp.o strcmp.o strncmp.o strlen.o \ - strnlen.o strchr.o strrchr.o tishift.o + clear_page.o csum.o insn.o memchr.o memcpy.o \ + memmove.o memset.o memcmp.o strcmp.o strncmp.o \ + strlen.o strnlen.o strchr.o strrchr.o tishift.o ifeq ($(CONFIG_KERNEL_MODE_NEON), y) obj-$(CONFIG_XOR_BLOCKS) += xor-neon.o |