]> 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, 6 Oct 2011 05:59:55 +0000 (16:59 +1100)
commita07f54e8e033f48b9dee63b2e2b9d9d956678942
tree30b68b360d38920f172ff734e187c14fb6366128
parent3bcd5da1934c0f88576fa318b3368cf0e579adab
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