Re: [PATCH 1/2] PM / sleep: Make suspend-to-idle-specific code depend on CONFIG_SUSPEND

From: Rafael J. Wysocki
Date: Mon May 18 2015 - 17:25:31 EST


On Monday, May 18, 2015 04:49:43 PM Thomas Gleixner wrote:
> On Sat, 16 May 2015, Rafael J. Wysocki wrote:
>
> > From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
> >
> > Since idle_should_freeze() is defined to always return 'false'
> > for CONFIG_SUSPEND unset, all of the code depending on it in
> > cpuidle_idle_call() is not necessary in that case.
> >
> > Make that code depend on CONFIG_SUSPEND too to avoid building it
> > when it is not going to be used.
> >
> > Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>
> ACK for the tick part.

Thanks!

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/