diff mbox

[12/16,v5,RFC] Local: Hack: remove pm_sysrq_init

Message ID 87r3nfdc1j.wl%kuninori.morimoto.gx@renesas.com (mailing list archive)
State RFC
Delegated to: Simon Horman
Headers show

Commit Message

Kuninori Morimoto Aug. 7, 2015, 3:18 a.m. UTC
From: Yoshifumi Hosoya <yoshifumi.hosoya.wj@renesas.com>

In initial H3 environment, psci/pm/suspend is not supported.
When primary cpu was booted, pm_sysrq_init() is not initialized.
So remove this function as temporary fix.

Signed-off-by: Yoshifumi Hosoya <yoshifumi.hosoya.wj@renesas.com>
Signed-off-by: Gaku Inami <gaku.inami.xw@bp.renesas.com>
Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
---
v4 -> v5

 - no change

 kernel/power/poweroff.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/kernel/power/poweroff.c b/kernel/power/poweroff.c
index 7ef6866..3f7ba43 100644
--- a/kernel/power/poweroff.c
+++ b/kernel/power/poweroff.c
@@ -39,7 +39,7 @@  static struct sysrq_key_op	sysrq_poweroff_op = {
 
 static int __init pm_sysrq_init(void)
 {
-	register_sysrq_key('o', &sysrq_poweroff_op);
+//	register_sysrq_key('o', &sysrq_poweroff_op);
 	return 0;
 }