Thread (18 messages) 18 messages, 3 authors, 2016-07-15

Re: [PATCH v7 09/11] cpuidle/powernv: cleanup powernv_add_idle_states

From: Michael Neuling <hidden>
Date: 2016-07-08 02:42:47
Also in: linux-pm, lkml

quoted hunk ↗ jump to hunk
=C2=A0		/*
@@ -230,7 +238,7 @@ static int powernv_add_idle_states(void)
=C2=A0			strcpy(powernv_states[nr_idle_states].desc, "FastSleep");
=C2=A0			powernv_states[nr_idle_states].flags =3D CPUIDLE_FLAG_TIMER_STOP=
;
=C2=A0			powernv_states[nr_idle_states].target_residency =3D 300000;
-			powernv_states[nr_idle_states].enter =3D &fastsleep_loop;
+			powernv_states[nr_idle_states].enter =3D fastsleep_loop;
You can change this code too with the same thing.

static struct cpuidle_state powernv_states[CPUIDLE_STATE_MAX] =3D {
	{ /* Snooze */
		.name =3D "snooze",
		.desc =3D "snooze",
		.exit_latency =3D 0,
		.target_residency =3D 0,
		.enter =3D &snooze_loop },
};

Mikey
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help