Skip to contentSkip to conversation

kexec: Remove inline declaration of efi_get_pal_addr()

PATCH New Horms 1 participant 1 message Feb 5, 2007

lore
Share & tools
lore

Horms

author
#0 lore raw

PATCH 1/1 kexec: Remove inline declaration of efi_get_pal_addr()

Remove the Remove inline declaration of efi_get_pal_addr() as it is declared in linux/efi.h.

Index: linux-2.6/arch/ia64/kernel/machine_kexec.c
=================================--- linux-2.6.orig/arch/ia64/kernel/machine_kexec.c 2006-12-18 11:14:44.000000000 +0900
+++ linux-2.6/arch/ia64/kernel/machine_kexec.c 2006-12-18 11:22:35.000000000 +0900
@@ -14,6 +14,7 @@
#include <linux/kexec.h>
#include <linux/cpu.h>
#include <linux/irq.h>
+#include <linux/efi.h>
#include <asm/mmu_context.h>
#include <asm/setup.h>
#include <asm/delay.h>
@@ -83,7 +84,6 @@
* 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);
static void ia64_machine_kexec(struct unw_frame_info *info, void *arg) {
struct kimage *image = arg;