]> git.karo-electronics.de Git - karo-tx-linux.git/commit
printk: add ignore_loglevel as module parameter
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>
Wed, 12 Oct 2011 06:32:20 +0000 (17:32 +1100)
commit6b8710a23d8a2bd2092d9a3ef50fa992cdaaf620
tree3032a45b134ed1db262bb38d750556d2502bb67b
parentbe99f8261e1197c540447884e64b889ea1e16670
printk: add ignore_loglevel as module parameter

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 could change it by:
/sys/module/printk/parameters/ignore_loglevel

Signed-off-by: Zhang Yanmin <yanmin_zhang@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@google.com>
Documentation/kernel-parameters.txt
kernel/printk.c