ia64, kexec: Remove inline declaration of efi_get_pal_addr()
PATCH 1/1 ia64, kexec: Remove inline declaration of efi_get_pal_addr()
efi_get_pal_addr() is already declared in linux/efi.h (which is already indirectly included). This patch removes the inline declaration and includes linux/efi.h directly for good measure.
Signed-off-by Horms <[email protected]>
--- arch/ia64/kernel/machine_kexec.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/ia64/kernel/machine_kexec.c +1 -1
@@ -16,6 +16,7 @@ #include <linux/mm.h>#include <linux/kexec.h> #include <linux/pci.h> #include <linux/cpu.h> +#include <linux/efi.h> #include <asm/mmu_context.h> #include <asm/setup.h> #include <asm/mca.h>
@@ -98,7 +99,6 @@ #endif* Do not allocate memory (or fail in any way) in machine_kexec(). * We are past the point of no return, committed to rebooting now. */ -extern void *efi_get_pal_addr (void );void machine_kexec (struct kimage *image) {relocate_new_kernel_t rnk;
Signature · 1 line
1.4.1.rc1.g1ef9