From: Thomas Gleixner Subject: Re: [PATCH 1/2] PM / sleep: Make suspend-to-idle-specific code depend on CONFIG_SUSPEND Date: Mon, 18 May 2015 16:49:43 +0200 (CEST) Message-ID: References: <7138791.PFSSF2gqXk@vostro.rjw.lan> <2270439.0UMhzsTGM1@vostro.rjw.lan> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Received: from www.linutronix.de ([62.245.132.108]:49526 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751048AbbEROte (ORCPT ); Mon, 18 May 2015 10:49:34 -0400 In-Reply-To: <2270439.0UMhzsTGM1@vostro.rjw.lan> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: "Rafael J. Wysocki" Cc: Linux PM list , Linux Kernel Mailing List , Peter Zijlstra , Daniel Lezcano , Len Brown On Sat, 16 May 2015, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > 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 ACK for the tick part.