]> git.karo-electronics.de Git - karo-tx-linux.git/commit
printk: add console_suspend 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>
Tue, 11 Oct 2011 08:44:01 +0000 (19:44 +1100)
commite77bc749d07c5863e9ce4fc5a02d78c4a4be33e6
tree86212aa351b86671a5212da04a9c2142f5bb1c46
parent89c2d79269aba458fd36221d3e51cec0d1b950d4
printk: add console_suspend module parameter

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

Add a module parameter, so users could change it by:
/sys/module/printk/parameters/console_suspend

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