From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754145AbbERVZ3 (ORCPT ); Mon, 18 May 2015 17:25:29 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:51046 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1750801AbbERVZ1 (ORCPT ); Mon, 18 May 2015 17:25:27 -0400 From: "Rafael J. Wysocki" To: Thomas Gleixner Cc: Linux PM list , Linux Kernel Mailing List , Peter Zijlstra , Daniel Lezcano , Len Brown Subject: Re: [PATCH 1/2] PM / sleep: Make suspend-to-idle-specific code depend on CONFIG_SUSPEND Date: Mon, 18 May 2015 23:50:45 +0200 Message-ID: <1528857.MjezJ3Xqem@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.0.0+; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: <7138791.PFSSF2gqXk@vostro.rjw.lan> <2270439.0UMhzsTGM1@vostro.rjw.lan> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > > > 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. Thanks!