From patchwork Thu Jan 3 15:10:02 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Pan X-Patchwork-Id: 1929861 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 554F3DFB80 for ; Thu, 3 Jan 2013 23:10:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754108Ab3ACXKT (ORCPT ); Thu, 3 Jan 2013 18:10:19 -0500 Received: from mga02.intel.com ([134.134.136.20]:41404 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753987Ab3ACXKS (ORCPT ); Thu, 3 Jan 2013 18:10:18 -0500 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 03 Jan 2013 15:10:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,405,1355126400"; d="scan'208";a="241821109" Received: from jacob-desktop.jf.intel.com ([10.7.198.62]) by orsmga001.jf.intel.com with ESMTP; 03 Jan 2013 15:10:17 -0800 From: Jacob Pan To: Linux PM , LKML , Rafael Wysocki Cc: Len Brown , Thomas Gleixner , "H. Peter Anvin" , Ingo Molnar , Zhang Rui , Rob Landley , Arjan van de Ven , Paul McKenney , Joe Perches , Jacob Pan Subject: [PATCH v5 1/3] tick: export nohz tick idle symbols for module use Date: Thu, 3 Jan 2013 07:10:02 -0800 Message-Id: <1357225804-27191-2-git-send-email-jacob.jun.pan@linux.intel.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1357225804-27191-1-git-send-email-jacob.jun.pan@linux.intel.com> References: <1357225804-27191-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 d58e552..a767757 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c @@ -553,6 +553,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 @@ -681,6 +682,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) {