From patchwork Mon Nov 12 22:03:49 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Pan X-Patchwork-Id: 1732351 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 A28553FC8A for ; Tue, 13 Nov 2012 06:05:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753488Ab2KMGEU (ORCPT ); Tue, 13 Nov 2012 01:04:20 -0500 Received: from mga02.intel.com ([134.134.136.20]:47982 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751537Ab2KMGET (ORCPT ); Tue, 13 Nov 2012 01:04:19 -0500 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 12 Nov 2012 22:04:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.80,764,1344236400"; d="scan'208";a="241143525" Received: from jacob-desktop.jf.intel.com ([10.7.198.62]) by orsmga002.jf.intel.com with ESMTP; 12 Nov 2012 22:04:19 -0800 From: Jacob Pan To: Linux PM , LKML Cc: 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 1/3] tick: export nohz tick idle symbols for module use Date: Mon, 12 Nov 2012 14:03:49 -0800 Message-Id: <1352757831-5202-2-git-send-email-jacob.jun.pan@linux.intel.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1352757831-5202-1-git-send-email-jacob.jun.pan@linux.intel.com> References: <1352757831-5202-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) {