]> git.karo-electronics.de Git - karo-tx-linux.git/commit
printk: add module parameter ignore_loglevel to control ignore_loglevel
authorYanmin Zhang <yanmin_zhang@linux.intel.com>
Wed, 5 Oct 2011 00:43:27 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 11 Oct 2011 08:44:01 +0000 (19:44 +1100)
commit8d56bce4c4ec2dd1b648479f39eb83921a6caa1f
tree804794fa1a73d8f87456205a9c70fd7b90ad7752
parentea774555b149f20f44adc85f072abe114656e913
printk: add module parameter ignore_loglevel to control ignore_loglevel

We are enabling some power features on medfield.  To test suspend-2-RAM
conveniently, we need turn on/off ignore_loglevel frequently without
rebooting.

Add a module parameter, so users can change it by:
/sys/module/printk/parameters/ignore_loglevel

Signed-off-by: Yanmin Zhang <yanmin.zhang@intel.com>
Signed-off-by: Andrew Morton <akpm@google.com>
kernel/printk.c