diff options
author | Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> | 2008-11-17 10:18:08 +0900 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2008-11-20 13:31:10 -0800 |
commit | ef23cdbefc3ab7f2ee9ee6dc6d4a94d7d6ec5e2b (patch) | |
tree | 1030256e984b98b65b6741112441d9af0622cceb /arch/ia64/kernel | |
parent | b704882e70d87d7f56db5ff17e2253f3fa90e4f3 (diff) | |
download | blackbird-op-linux-ef23cdbefc3ab7f2ee9ee6dc6d4a94d7d6ec5e2b.tar.gz blackbird-op-linux-ef23cdbefc3ab7f2ee9ee6dc6d4a94d7d6ec5e2b.zip |
[IA64] use mprintk instead of printk, in ia64_mca_modify_original_stack
Using printk from MCA/INIT context is unsafe since it can cause deadlock.
The ia64_mca_modify_original_stack is called from both of mca handler and
init handler, so it should use mprintk instead of printk.
Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel')
-rw-r--r-- | arch/ia64/kernel/mca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/mca.c b/arch/ia64/kernel/mca.c index 7dd96c127177..bab1de2d2f6a 100644 --- a/arch/ia64/kernel/mca.c +++ b/arch/ia64/kernel/mca.c @@ -1139,7 +1139,7 @@ ia64_mca_modify_original_stack(struct pt_regs *regs, return previous_current; no_mod: - printk(KERN_INFO "cpu %d, %s %s, original stack not modified\n", + mprintk(KERN_INFO "cpu %d, %s %s, original stack not modified\n", smp_processor_id(), type, msg); return previous_current; } |