]> 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>
Thu, 13 Oct 2011 06:49:38 +0000 (17:49 +1100)
commitcb95b019a0a7de7770377ef2a7e49d1b352bed78
tree7adc516071ba0e94a9ab7c210bfcf0a32ff81308
parent157558bd12ee00d85dc05a0d3ff88e6ab6752882
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