]> git.karo-electronics.de Git - karo-tx-linux.git/commit
printk: add console_suspend module parameter
authorYanmin Zhang <yanmin_zhang@linux.intel.com>
Wed, 28 Sep 2011 00:50:38 +0000 (10:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 30 Sep 2011 04:53:36 +0000 (14:53 +1000)
commitb581cf6c2d9a5335c775cf8b584255d16c62988a
tree5c6f5a06c75372856ce8b396bd5f9b72e7256c70
parentbbcdfde56114b106b8d6bcf008a685b79be4c433
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 <>
Documentation/kernel-parameters.txt
kernel/printk.c