diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2007-09-01 07:36:26 (GMT) |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2007-10-12 22:24:06 (GMT) |
commit | ac542a513bd7905fa1a700881e0a40a94d3ed46a (patch) | |
tree | f30df9f5604a68fa759b0e9337bb55d577ede35a /include/asm-ia64/mca.h | |
parent | a62c9fe4637f62e3901f8268778dbc8100281d40 (diff) | |
download | linux-fsl-qoriq-ac542a513bd7905fa1a700881e0a40a94d3ed46a.tar.xz |
[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 'include/asm-ia64/mca.h')
-rw-r--r-- | include/asm-ia64/mca.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-ia64/mca.h b/include/asm-ia64/mca.h index edd5d01..823553b 100644 --- a/include/asm-ia64/mca.h +++ b/include/asm-ia64/mca.h @@ -151,6 +151,8 @@ extern void ia64_mca_cmc_vector_setup(void); extern int ia64_reg_MCA_extension(int (*fn)(void *, struct ia64_sal_os_state *)); extern void ia64_unreg_MCA_extension(void); extern u64 ia64_get_rnat(u64 *); +extern void ia64_mca_printk(const char * fmt, ...) + __attribute__ ((format (printf, 1, 2))); struct ia64_mca_notify_die { struct ia64_sal_os_state *sos; |