summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-12-13 10:54:50 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2023-12-13 10:54:50 -0800
commitaf2a9c6a83a61bcaeb0fa4edc74762448926ef1c (patch)
treebc8535e16fe7a6974b6588094ec5e0e259fb97d9 /arch
parent88035e5694a86a7167d490bb95e9df97a9bb162b (diff)
parent50d7cdf7a9b1ab6f4f74a69c84e974d5dc0c1bf1 (diff)
Merge tag 'efi-urgent-for-v6.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi
Pull EFI fixes from Ard Biesheuvel: - Deal with a regression in the recently refactored x86 EFI stub code on older Dell systems by disabling randomization of the physical load address - Use the correct load address for relocatable Loongarch kernels * tag 'efi-urgent-for-v6.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi: efi/x86: Avoid physical KASLR on older Dell systems efi/loongarch: Use load address to calculate kernel entry address
Diffstat (limited to 'arch')
-rw-r--r--arch/loongarch/include/asm/efi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/loongarch/include/asm/efi.h b/arch/loongarch/include/asm/efi.h
index 091897d40b03..91d81f9730ab 100644
--- a/arch/loongarch/include/asm/efi.h
+++ b/arch/loongarch/include/asm/efi.h
@@ -32,6 +32,6 @@ static inline unsigned long efi_get_kimg_min_align(void)
#define EFI_KIMG_PREFERRED_ADDRESS PHYSADDR(VMLINUX_LOAD_ADDRESS)
-unsigned long kernel_entry_address(void);
+unsigned long kernel_entry_address(unsigned long kernel_addr);
#endif /* _ASM_LOONGARCH_EFI_H */