Skip to contentSkip to conversation

ia64, kexec: Remove inline declaration of efi_get_pal_addr()

PATCH New Horms 1 participant 1 message Jul 7, 2006

lore
Share & tools
lore

Horms

author
#0 lore raw

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.

---
 arch/ia64/kernel/machine_kexec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/ia64/kernel/machine_kexec.c +1 -1
index 573a6b8..f30aa87 100644
@@ -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