From patchwork Mon Nov 26 15:19:50 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Pan X-Patchwork-Id: 1807181 Return-Path: X-Original-To: patchwork-linux-pm@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 0202E3FC54 for ; Mon, 26 Nov 2012 23:21:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757503Ab2KZXUv (ORCPT ); Mon, 26 Nov 2012 18:20:51 -0500 Received: from mga02.intel.com ([134.134.136.20]:30688 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754412Ab2KZXUM (ORCPT ); Mon, 26 Nov 2012 18:20:12 -0500 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 26 Nov 2012 15:20:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.83,323,1352102400"; d="scan'208";a="224670563" Received: from jacob-desktop.jf.intel.com ([10.7.198.62]) by orsmga001.jf.intel.com with ESMTP; 26 Nov 2012 15:20:11 -0800 From: Jacob Pan To: Linux PM , LKML Cc: Peter Zijlstra , Rafael Wysocki , Len Brown , Thomas Gleixner , "H. Peter Anvin" , Ingo Molnar , Zhang Rui , Rob Landley , Arjan van de Ven , Paul McKenney , Jacob Pan Subject: [PATCH v3 1/3] tick: export nohz tick idle symbols for module use Date: Mon, 26 Nov 2012 07:19:50 -0800 Message-Id: <1353943192-20298-2-git-send-email-jacob.jun.pan@linux.intel.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1353943192-20298-1-git-send-email-jacob.jun.pan@linux.intel.com> References: <1353943192-20298-1-git-send-email-jacob.jun.pan@linux.intel.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Allow drivers such as intel_powerclamp to use these apis for turning on/off ticks during idle. Signed-off-by: Jacob Pan --- kernel/time/tick-sched.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index a402608..7c38f08 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c @@ -510,6 +510,7 @@ void tick_nohz_idle_enter(void) local_irq_enable(); } +EXPORT_SYMBOL_GPL(tick_nohz_idle_enter); /** * tick_nohz_irq_exit - update next tick event from interrupt exit @@ -634,6 +635,7 @@ void tick_nohz_idle_exit(void) local_irq_enable(); } +EXPORT_SYMBOL_GPL(tick_nohz_idle_exit); static int tick_nohz_reprogram(struct tick_sched *ts, ktime_t now) {