* [PATCH] [IA64] kexec: Remove inline declaration of efi_get_pal_addr()
@ 2007-02-05 1:16 Horms
0 siblings, 0 replies; 3+ messages in thread
From: Horms @ 2007-02-05 1:16 UTC (permalink / raw)
To: linux-ia64
Remove the Remove inline declaration of efi_get_pal_addr() as it is
declared in linux/efi.h.
Signed-Off-By: Simon Horman <horms@verge.net.au>
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;
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH] [IA64] kexec: Remove inline declaration of efi_get_pal_addr()
@ 2006-12-18 3:08 Horms
0 siblings, 0 replies; 3+ messages in thread
From: Horms @ 2006-12-18 3:08 UTC (permalink / raw)
To: linux-ia64
Remove the Remove inline declaration of efi_get_pal_addr() as it is
declared in linux/efi.h.
Signed-Off-By: Simon Horman <horms@verge.net.au>
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;
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH] ia64, kexec: Remove inline declaration of efi_get_pal_addr()
@ 2006-07-07 3:49 Horms
0 siblings, 0 replies; 3+ messages in thread
From: Horms @ 2006-07-07 3:49 UTC (permalink / raw)
To: linux-ia64
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 <horms@verge.net.au>
---
arch/ia64/kernel/machine_kexec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/ia64/kernel/machine_kexec.c b/arch/ia64/kernel/machine_kexec.c
index 573a6b8..f30aa87 100644
--- a/arch/ia64/kernel/machine_kexec.c
+++ b/arch/ia64/kernel/machine_kexec.c
@@ -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;
--
1.4.1.rc1.g1ef9
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-02-05 1:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-05 1:16 [PATCH] [IA64] kexec: Remove inline declaration of efi_get_pal_addr() Horms
-- strict thread matches above, loose matches on Subject: below --
2006-12-18 3:08 Horms
2006-07-07 3:49 [PATCH] ia64, " Horms
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox