From patchwork Thu Mar 21 12:41:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Bolle X-Patchwork-Id: 2313231 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 27E1B40213 for ; Thu, 21 Mar 2013 12:41:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755736Ab3CUMl0 (ORCPT ); Thu, 21 Mar 2013 08:41:26 -0400 Received: from cpsmtpb-ews03.kpnxchange.com ([213.75.39.6]:55680 "EHLO cpsmtpb-ews03.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753927Ab3CUMl0 (ORCPT ); Thu, 21 Mar 2013 08:41:26 -0400 Received: from cpsps-ews02.kpnxchange.com ([10.94.84.169]) by cpsmtpb-ews03.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Thu, 21 Mar 2013 13:39:54 +0100 Received: from CPSMTPM-TLF101.kpnxchange.com ([195.121.3.4]) by cpsps-ews02.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Thu, 21 Mar 2013 13:39:54 +0100 Received: from [192.168.1.110] ([212.123.139.93]) by CPSMTPM-TLF101.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Thu, 21 Mar 2013 13:41:23 +0100 Message-ID: <1363869683.1390.134.camel@x61.thuisdomein> Subject: [PATCH] cpuidle: remove ARCH_HAS_DEFAULT_IDLE From: Paul Bolle To: Paul Mundt , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" Cc: Len Brown , x86@kernel.org, linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 21 Mar 2013 13:41:23 +0100 X-Mailer: Evolution 3.4.4 (3.4.4-2.fc17) Mime-Version: 1.0 X-OriginalArrivalTime: 21 Mar 2013 12:41:24.0034 (UTC) FILETIME=[659CA220:01CE2631] X-RcptDomain: vger.kernel.org Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org The Kconfig symbol ARCH_HAS_DEFAULT_IDLE is unused. Commit a0bfa1373859e9d11dc92561a8667588803e42d8 ("cpuidle: stop depending on pm_idle") removed the only place were it was actually used. But it did not remove its Kconfig entries (for sh and x86). Remove those two entries now. Signed-off-by: Paul Bolle --- 0) Untested. 1) Sent as a single patch. I'm happy to split it into two and resend it if needed. arch/sh/Kconfig | 3 --- arch/x86/Kconfig | 3 --- 2 files changed, 6 deletions(-) diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 5e85963..6d4327f 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig @@ -148,9 +148,6 @@ config ARCH_HAS_ILOG2_U32 config ARCH_HAS_ILOG2_U64 def_bool n -config ARCH_HAS_DEFAULT_IDLE - def_bool y - config NO_IOPORT def_bool !PCI depends on !SH_CAYMAN && !SH_SH4202_MICRODEV && !SH_SHMIN && \ diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 70c0f3d..fcf2939 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -188,9 +188,6 @@ config GENERIC_CALIBRATE_DELAY config ARCH_HAS_CPU_RELAX def_bool y -config ARCH_HAS_DEFAULT_IDLE - def_bool y - config ARCH_HAS_CACHE_LINE_SIZE def_bool y