From patchwork Thu Jan 3 11:01:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Pan X-Patchwork-Id: 1929121 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 B3C9F3FE37 for ; Thu, 3 Jan 2013 19:02:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753916Ab3ACTCO (ORCPT ); Thu, 3 Jan 2013 14:02:14 -0500 Received: from mga09.intel.com ([134.134.136.24]:38776 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753698Ab3ACTBb (ORCPT ); Thu, 3 Jan 2013 14:01:31 -0500 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 03 Jan 2013 11:00:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,404,1355126400"; d="scan'208";a="266915589" Received: from jacob-desktop.jf.intel.com ([10.7.198.62]) by orsmga002.jf.intel.com with ESMTP; 03 Jan 2013 11:01:30 -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 , Peter Zijlstra , Joe Perches , Jacob Pan Subject: [PATCH v4 1/3] tick: export nohz tick idle symbols for module use Date: Thu, 3 Jan 2013 03:01:13 -0800 Message-Id: <1357210875-5025-2-git-send-email-jacob.jun.pan@linux.intel.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1357210875-5025-1-git-send-email-jacob.jun.pan@linux.intel.com> References: <1357210875-5025-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) {