Code Review
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
kdump: make elfcorehdr_addr independent of CONFIG_PROC_VMCORE
[linux-2.6.git]
/
arch
/
sh
/
kernel
/
crash_dump.c
diff --git
a/arch/sh/kernel/crash_dump.c
b/arch/sh/kernel/crash_dump.c
index 4a2ecbe27d8e9257c068edad01124fbd48e04c8b..95d216255565aa119640c96e0d496125546486ee 100644
(file)
--- a/
arch/sh/kernel/crash_dump.c
+++ b/
arch/sh/kernel/crash_dump.c
@@
-10,6
+10,9
@@
#include <linux/io.h>
#include <asm/uaccess.h>
#include <linux/io.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
/**
* copy_oldmem_page - copy one page from "oldmem"
* @pfn: page frame number to be copied