From patchwork Mon Apr 21 09:55:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 28673 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f69.google.com (mail-pa0-f69.google.com [209.85.220.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 167192032B for ; Mon, 21 Apr 2014 09:56:26 +0000 (UTC) Received: by mail-pa0-f69.google.com with SMTP id fb1sf18629958pad.0 for ; Mon, 21 Apr 2014 02:56:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:in-reply-to:references :sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=w5gVJaBybjAoURhAN+jOlRRbPAIv+WY3zQqUH6i2o0c=; b=X5xBLqZLbqS34RaTAi7gxZ5hRtPnQ6B67pQyv6lYSqTqp/A7FyZqFV0nYoUUhQdaEC BvdOApDVahTS0yL0Y1FsHNgy1oCH2hqmeB+Rffm7SPb+0pqKhKaj8DoJFvKTzZJRCOuN PTU2dFcwYs9+XujzzpxFnIKEJUczKVLKbF2Ecu+FtD/fJYTC3QPm5eZkAwEJX+4163Ap rUSewzLAcuwYnLWmoUTTfJ9mZJTK4q3oiCbP26DHNp8Ev5hf/ZVlZjAZ6DUhQGN3jaNT MhmAPdw2zl+MTa8oi2pWbs+JOf1Ri4SME64HBV6VJ0o1TL40sd4TJ7QsfcNMrSaFWxfN UCsQ== X-Gm-Message-State: ALoCoQn4pxFF8ePyoA+HdGzC2nwbmD4ZkNpbAxvSeiEFbQjD9RhYzKRlvFjlqyrmtJ/8MLAjX12V X-Received: by 10.66.149.67 with SMTP id ty3mr17998745pab.27.1398074186194; Mon, 21 Apr 2014 02:56:26 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.80.107 with SMTP id b98ls2288930qgd.64.gmail; Mon, 21 Apr 2014 02:56:26 -0700 (PDT) X-Received: by 10.221.26.10 with SMTP id rk10mr30667088vcb.0.1398074186022; Mon, 21 Apr 2014 02:56:26 -0700 (PDT) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id sw4si6159167vdc.156.2014.04.21.02.56.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 21 Apr 2014 02:56:26 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.173; Received: by mail-ve0-f173.google.com with SMTP id oy12so7426781veb.4 for ; Mon, 21 Apr 2014 02:56:25 -0700 (PDT) X-Received: by 10.52.183.228 with SMTP id ep4mr965400vdc.30.1398074185943; Mon, 21 Apr 2014 02:56:25 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp280251vcb; Mon, 21 Apr 2014 02:56:25 -0700 (PDT) X-Received: by 10.68.197.8 with SMTP id iq8mr2622277pbc.124.1398074185128; Mon, 21 Apr 2014 02:56:25 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id oz6si15540894pac.51.2014.04.21.02.56.23; Mon, 21 Apr 2014 02:56:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751848AbaDUJ4U (ORCPT + 26 others); Mon, 21 Apr 2014 05:56:20 -0400 Received: from mail-wg0-f44.google.com ([74.125.82.44]:62008 "EHLO mail-wg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751468AbaDUJzs (ORCPT ); Mon, 21 Apr 2014 05:55:48 -0400 Received: by mail-wg0-f44.google.com with SMTP id m15so2457038wgh.3 for ; Mon, 21 Apr 2014 02:55:47 -0700 (PDT) X-Received: by 10.180.160.166 with SMTP id xl6mr13412093wib.42.1398074147022; Mon, 21 Apr 2014 02:55:47 -0700 (PDT) Received: from localhost ([213.122.173.131]) by mx.google.com with ESMTPSA id n5sm15248821wiz.1.2014.04.21.02.55.43 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 21 Apr 2014 02:55:46 -0700 (PDT) From: Viresh Kumar To: tglx@linutronix.de Cc: linaro-kernel@lists.linaro.org, linaro-networking@linaro.org, linux-kernel@vger.kernel.org, fweisbec@gmail.com, Viresh Kumar Subject: [PATCH V2 04/19] tick: move declaration of 'tick_cpu_device' to tick.h Date: Mon, 21 Apr 2014 15:25:00 +0530 Message-Id: X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 'tick_cpu_device' isn't local to kernel/time/ directory as it is declared in hrtimer.h as well. Move its declaration to tick.h. Signed-off-by: Viresh Kumar --- include/linux/hrtimer.h | 3 --- include/linux/tick.h | 2 ++ kernel/time/tick-internal.h | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h index e7a8d3f..a31f83e 100644 --- a/include/linux/hrtimer.h +++ b/include/linux/hrtimer.h @@ -332,9 +332,6 @@ extern ktime_t ktime_get_clocktai(void); extern ktime_t ktime_get_update_offsets(ktime_t *offs_real, ktime_t *offs_boot, ktime_t *offs_tai); -DECLARE_PER_CPU(struct tick_device, tick_cpu_device); - - /* Exported timer functions: */ /* Initialize timers: */ diff --git a/include/linux/tick.h b/include/linux/tick.h index edabc7d..1a9908a 100644 --- a/include/linux/tick.h +++ b/include/linux/tick.h @@ -85,6 +85,8 @@ struct tick_sched { extern void __init tick_init(void); extern int tick_is_oneshot_available(void); + +DECLARE_PER_CPU(struct tick_device, tick_cpu_device); extern struct tick_device *tick_get_device(int cpu); # ifdef CONFIG_HIGH_RES_TIMERS diff --git a/kernel/time/tick-internal.h b/kernel/time/tick-internal.h index 855c513..57c1a76 100644 --- a/kernel/time/tick-internal.h +++ b/kernel/time/tick-internal.h @@ -13,7 +13,6 @@ extern seqlock_t jiffies_lock; #define TICK_DO_TIMER_NONE -1 #define TICK_DO_TIMER_BOOT -2 -DECLARE_PER_CPU(struct tick_device, tick_cpu_device); extern ktime_t tick_next_period; extern ktime_t tick_period; extern int tick_do_timer_cpu __read_mostly;