diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 19:55:13 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 19:55:13 -0400 |
commit | 00170fdd0846df7cdb5ad421d3a340440f930b8f (patch) | |
tree | 1883cfbda846cd65faed011bda54a52c1d40ecdd /drivers/tty | |
parent | d09cc3659db494aca4b3bb2393c533fb4946b794 (diff) | |
parent | 3ff6db3287e8a5e8f5bb9529b8e1259ca6b10def (diff) |
Merge branch 'akpm' (patchbomb from Andrew) into next
Merge misc updates from Andrew Morton:
- a few fixes for 3.16. Cc'ed to stable so they'll get there somehow.
- various misc fixes and cleanups
- most of the ocfs2 queue. Review is slow...
- most of MM. The MM queue is pretty huge this time, but not much in
the way of feature work.
- some tweaks under kernel/
- printk maintenance work
- updates to lib/
- checkpatch updates
- tweaks to init/
* emailed patches from Andrew Morton <akpm@linux-foundation.org>: (276 commits)
fs/autofs4/dev-ioctl.c: add __init to autofs_dev_ioctl_init
fs/ncpfs/getopt.c: replace simple_strtoul by kstrtoul
init/main.c: remove an ifdef
kthreads: kill CLONE_KERNEL, change kernel_thread(kernel_init) to avoid CLONE_SIGHAND
init/main.c: add initcall_blacklist kernel parameter
init/main.c: don't use pr_debug()
fs/binfmt_flat.c: make old_reloc() static
fs/binfmt_elf.c: fix bool assignements
fs/efs: convert printk(KERN_DEBUG to pr_debug
fs/efs: add pr_fmt / use __func__
fs/efs: convert printk to pr_foo()
scripts/checkpatch.pl: device_initcall is not the only __initcall substitute
checkpatch: check stable email address
checkpatch: warn on unnecessary void function return statements
checkpatch: prefer kstrto<foo> to sscanf(buf, "%<lhuidx>", &bar);
checkpatch: add warning for kmalloc/kzalloc with multiply
checkpatch: warn on #defines ending in semicolon
checkpatch: make --strict a default for files in drivers/net and net/
checkpatch: always warn on missing blank line after variable declaration block
checkpatch: fix wildcard DT compatible string checking
...
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/sysrq.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/tty/sysrq.c b/drivers/tty/sysrq.c index ce396ecdf412..b767a64e49d9 100644 --- a/drivers/tty/sysrq.c +++ b/drivers/tty/sysrq.c | |||
@@ -88,7 +88,7 @@ static void sysrq_handle_loglevel(int key) | |||
88 | int i; | 88 | int i; |
89 | 89 | ||
90 | i = key - '0'; | 90 | i = key - '0'; |
91 | console_loglevel = 7; | 91 | console_loglevel = CONSOLE_LOGLEVEL_DEFAULT; |
92 | printk("Loglevel set to %d\n", i); | 92 | printk("Loglevel set to %d\n", i); |
93 | console_loglevel = i; | 93 | console_loglevel = i; |
94 | } | 94 | } |
@@ -343,7 +343,7 @@ static void send_sig_all(int sig) | |||
343 | static void sysrq_handle_term(int key) | 343 | static void sysrq_handle_term(int key) |
344 | { | 344 | { |
345 | send_sig_all(SIGTERM); | 345 | send_sig_all(SIGTERM); |
346 | console_loglevel = 8; | 346 | console_loglevel = CONSOLE_LOGLEVEL_DEBUG; |
347 | } | 347 | } |
348 | static struct sysrq_key_op sysrq_term_op = { | 348 | static struct sysrq_key_op sysrq_term_op = { |
349 | .handler = sysrq_handle_term, | 349 | .handler = sysrq_handle_term, |
@@ -387,7 +387,7 @@ static struct sysrq_key_op sysrq_thaw_op = { | |||
387 | static void sysrq_handle_kill(int key) | 387 | static void sysrq_handle_kill(int key) |
388 | { | 388 | { |
389 | send_sig_all(SIGKILL); | 389 | send_sig_all(SIGKILL); |
390 | console_loglevel = 8; | 390 | console_loglevel = CONSOLE_LOGLEVEL_DEBUG; |
391 | } | 391 | } |
392 | static struct sysrq_key_op sysrq_kill_op = { | 392 | static struct sysrq_key_op sysrq_kill_op = { |
393 | .handler = sysrq_handle_kill, | 393 | .handler = sysrq_handle_kill, |
@@ -520,7 +520,7 @@ void __handle_sysrq(int key, bool check_mask) | |||
520 | * routing in the consumers of /proc/kmsg. | 520 | * routing in the consumers of /proc/kmsg. |
521 | */ | 521 | */ |
522 | orig_log_level = console_loglevel; | 522 | orig_log_level = console_loglevel; |
523 | console_loglevel = 7; | 523 | console_loglevel = CONSOLE_LOGLEVEL_DEFAULT; |
524 | printk(KERN_INFO "SysRq : "); | 524 | printk(KERN_INFO "SysRq : "); |
525 | 525 | ||
526 | op_p = __sysrq_get_key_op(key); | 526 | op_p = __sysrq_get_key_op(key); |