aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/sysrq.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-21 10:37:27 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-21 10:37:27 -0500
commit77835492ed489c0b870f82f4c50687bd267acc0a (patch)
treed80903ce1b8dd30aa44ccfc756616ad4d6c74d63 /drivers/char/sysrq.c
parentaf37501c792107c2bde1524bdae38d9a247b841a (diff)
parent1de9e8e70f5acc441550ca75433563d91b269bbe (diff)
Merge commit 'v2.6.29-rc2' into perfcounters/core
Conflicts: include/linux/syscalls.h
Diffstat (limited to 'drivers/char/sysrq.c')
-rw-r--r--drivers/char/sysrq.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/char/sysrq.c b/drivers/char/sysrq.c
index 5a3eab0882a0..fa71b84f217b 100644
--- a/drivers/char/sysrq.c
+++ b/drivers/char/sysrq.c
@@ -475,6 +475,12 @@ void __handle_sysrq(int key, struct tty_struct *tty, int check_mask)
475 unsigned long flags; 475 unsigned long flags;
476 476
477 spin_lock_irqsave(&sysrq_key_table_lock, flags); 477 spin_lock_irqsave(&sysrq_key_table_lock, flags);
478 /*
479 * Raise the apparent loglevel to maximum so that the sysrq header
480 * is shown to provide the user with positive feedback. We do not
481 * simply emit this at KERN_EMERG as that would change message
482 * routing in the consumers of /proc/kmsg.
483 */
478 orig_log_level = console_loglevel; 484 orig_log_level = console_loglevel;
479 console_loglevel = 7; 485 console_loglevel = 7;
480 printk(KERN_INFO "SysRq : "); 486 printk(KERN_INFO "SysRq : ");