]> git.karo-electronics.de Git - karo-tx-linux.git/commit
printk: add console_suspend module parameter
authorYanmin Zhang <yanmin_zhang@linux.intel.com>
Mon, 24 Oct 2011 14:58:45 +0000 (01:58 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 25 Oct 2011 09:08:01 +0000 (20:08 +1100)
commit270f432989e42b9b19162e7abce11f1ee75cf9ab
tree14dba42111f422fcb1501454fac58ef6855b914c
parentd04f38b99ffc082ab03184ee8bc3f46c846c519d
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