diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2022-10-11 15:15:51 +0200 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2022-11-09 12:42:02 +0100 |
commit | 52dce39cd2786673969a12d1c94e0922d9208f83 (patch) | |
tree | b05c22bae7499c7f1f61430ba296a900bbea75bc /arch/loongarch | |
parent | fa882a1389b2a6eaba8a0d5439dbd32537d0ecc5 (diff) |
efi: libstub: Clone memcmp() into the stub
We will no longer be able to call into the kernel image once we merge
the decompressor with the EFI stub, so we need our own implementation of
memcmp(). Let's add the one from lib/string.c and simplify it.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'arch/loongarch')
-rw-r--r-- | arch/loongarch/kernel/image-vars.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/loongarch/kernel/image-vars.h b/arch/loongarch/kernel/image-vars.h index 88f5d81702df..5b6c7f079942 100644 --- a/arch/loongarch/kernel/image-vars.h +++ b/arch/loongarch/kernel/image-vars.h @@ -7,7 +7,6 @@ #ifdef CONFIG_EFI_STUB -__efistub_memcmp = memcmp; __efistub_memchr = memchr; __efistub_strcat = strcat; __efistub_strcmp = strcmp; |