Re: [PATCH 3/5] ia64: Define elfcorehdr_addr in arch dependent section

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Simon Horman
Date: Monday, July 28, 2008 - 9:42 pm

On Mon, Jul 28, 2008 at 05:13:14PM -0400, Vivek Goyal wrote:

Hi Vivek,

I think that you also need the following in arch/ia64/kernel/crash_dump.c.
With this change your code compiles on ia64.

Signed-off-by: Simon Horman <horms@verge.net.au>


Index: linux-2.6/arch/ia64/kernel/crash_dump.c
===================================================================
--- linux-2.6.orig/arch/ia64/kernel/crash_dump.c	2008-07-29 14:06:57.000000000 +1000
+++ linux-2.6/arch/ia64/kernel/crash_dump.c	2008-07-29 14:09:55.000000000 +1000
@@ -8,10 +8,14 @@
 
 #include <linux/errno.h>
 #include <linux/types.h>
+#include <linux/crash_dump.h>
 
 #include <asm/page.h>
 #include <asm/uaccess.h>
 
+/* Stores the physical address of elf header of crash image. */
+unsigned long long elfcorehdr_addr = ELFCORE_ADDR_MAX;
+
 /**
  * copy_oldmem_page - copy one page from "oldmem"
  * @pfn: page frame number to be copied

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch] crashdump: fix undefined reference to `elfcore ..., Eric W. Biederman, (Sun Jul 27, 10:39 pm)
Re: [patch] crashdump: fix undefined reference to `elfcore ..., Eric W. Biederman, (Mon Jul 28, 12:12 pm)
Re: [PATCH 1/5] Move elfcorehdr_addr out of vmcore.c (Was: ..., Eric W. Biederman, (Mon Jul 28, 3:37 pm)
Re: [PATCH 1/5] Move elfcorehdr_addr out of vmcore.c (Was: ..., Eric W. Biederman, (Mon Jul 28, 3:47 pm)
Re: [PATCH 3/5] ia64: Define elfcorehdr_addr in arch depen ..., Simon Horman, (Mon Jul 28, 9:42 pm)