summaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/crash.c
diff options
context:
space:
mode:
authorKenji Kaneshige2007-09-01 09:36:26 +0200
committerTony Luck2007-10-13 00:24:06 +0200
commitac542a513bd7905fa1a700881e0a40a94d3ed46a (patch)
treef30df9f5604a68fa759b0e9337bb55d577ede35a /arch/ia64/kernel/crash.c
parent[IA64] Remove vector from ia64_machine_kexec() (diff)
downloadkernel-qcow2-linux-ac542a513bd7905fa1a700881e0a40a94d3ed46a.tar.gz
kernel-qcow2-linux-ac542a513bd7905fa1a700881e0a40a94d3ed46a.tar.xz
kernel-qcow2-linux-ac542a513bd7905fa1a700881e0a40a94d3ed46a.zip
[IA64] Fix kernel panic in kdump on INIT
Fix the problem that kdump on INIT causes a kernel panic if kdump kernel image is not configured. The cause of this problem is machine_kexec_on_init() is using printk in INIT context. It should use ia64_mca_printk() instead. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/crash.c')
-rw-r--r--arch/ia64/kernel/crash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/crash.c b/arch/ia64/kernel/crash.c
index 1d64ef478dde..b2367dd66766 100644
--- a/arch/ia64/kernel/crash.c
+++ b/arch/ia64/kernel/crash.c
@@ -119,7 +119,7 @@ static void
machine_kdump_on_init(void)
{
if (!ia64_kimage) {
- printk(KERN_NOTICE "machine_kdump_on_init(): "
+ ia64_mca_printk(KERN_NOTICE "machine_kdump_on_init(): "
"kdump not configured\n");
return;
}