From patchwork Wed Dec 16 14:17:22 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Youquan Song X-Patchwork-Id: 68301 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id nBI4ixku005715 for ; Fri, 18 Dec 2009 04:45:25 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932614AbZLPGl6 (ORCPT ); Wed, 16 Dec 2009 01:41:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932426AbZLPGl6 (ORCPT ); Wed, 16 Dec 2009 01:41:58 -0500 Received: from mga06.intel.com ([134.134.136.21]:10961 "EHLO orsmga101.jf.intel.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932378AbZLPGl5 (ORCPT ); Wed, 16 Dec 2009 01:41:57 -0500 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 15 Dec 2009 22:40:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.47,404,1257148800"; d="scan'208";a="476555066" Received: from youquan-linux.bj.intel.com (HELO localhost) ([172.16.182.102]) by orsmga002.jf.intel.com with ESMTP; 15 Dec 2009 22:41:40 -0800 Date: Wed, 16 Dec 2009 09:17:22 -0500 From: "Youquan,Song" To: lenb@kernel.org Cc: venkatesh.pallipadi@intel.com, kent.liu@intel.com, chaohong.guo@intel.com, jane.lv@intel.com, youquan.song@intel.com, linux-acpi@vger.kernel.org Subject: [PATCH]acpi cpuidle: Fix kernel oops when tickless is not enabled Message-ID: <20091216141721.GA27614@youquan-linux.bj.intel.com> Mime-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.9i Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org diff --git a/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig index 7dbc4a8..78d6d74 100644 --- a/drivers/cpuidle/Kconfig +++ b/drivers/cpuidle/Kconfig @@ -11,7 +11,7 @@ config CPU_IDLE config CPU_IDLE_GOV_LADDER bool - depends on CPU_IDLE + depends on CPU_IDLE && NO_HZ default y config CPU_IDLE_GOV_MENU