]> 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>
Fri, 7 Oct 2011 06:06:52 +0000 (17:06 +1100)
commit7a2ce499303c6e4af2ef9065338c9bde2a356491
treef5d7eb880ad39318b1c8ca9a4c6793434536be1b
parentd6989f929dba83bbf64ed5c3bedde75295e8ec78
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