We are enabling some power features on medfield. To test suspend-2-RAM
commitd09d67ec904cc7029e2e5a699323947c0a9a7080
authorYanmin Zhang <yanmin_zhang@linux.intel.com>
Wed, 24 Aug 2011 23:47:34 +0000 (25 09:47 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 25 Aug 2011 05:34:27 +0000 (25 15:34 +1000)
tree4364b21ba77bd8f05b6d701803e1afb1f8403b05
parent8a04dedc045dba1501a2103c7b87690f0152d0c8
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