diff options
Diffstat (limited to 'drivers/char/sysrq.c')
-rw-r--r-- | drivers/char/sysrq.c | 6 |
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 : "); |