Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752389AbcCIGDF (ORCPT ); Wed, 9 Mar 2016 01:03:05 -0500 Received: from mail-pf0-f170.google.com ([209.85.192.170]:34270 "EHLO mail-pf0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752263AbcCIGC5 (ORCPT ); Wed, 9 Mar 2016 01:02:57 -0500 Date: Tue, 8 Mar 2016 22:02:53 -0800 From: Christoffer Dall To: Julien Grall Cc: kvmarm@lists.cs.columbia.edu, marc.zyngier@arm.com, fu.wei@linaro.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, wei@redhat.com, al.stone@linaro.org, Daniel Lezcano , Thomas Gleixner Subject: Re: [PATCH v3 9/9] clocksource: arm_arch_timer: Remove arch_timer_get_timecounter Message-ID: <20160309060253.GM26583@lvm> References: <1457436573-6180-1-git-send-email-julien.grall@arm.com> <1457436573-6180-10-git-send-email-julien.grall@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1457436573-6180-10-git-send-email-julien.grall@arm.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1815 Lines: 61 On Tue, Mar 08, 2016 at 11:29:33AM +0000, Julien Grall wrote: > The only call of arch_timer_get_timecounter (in KVM) has been removed. > > Signed-off-by: Julien Grall > Acked-by: Christoffer Dall > --- > Cc: Daniel Lezcano > Cc: Thomas Gleixner > > Changes in v3: > - Patch added > --- > drivers/clocksource/arm_arch_timer.c | 5 ----- > include/clocksource/arm_arch_timer.h | 6 ------ > 2 files changed, 11 deletions(-) > > diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c > index d8887f3..94696d3 100644 > --- a/drivers/clocksource/arm_arch_timer.c > +++ b/drivers/clocksource/arm_arch_timer.c > @@ -463,11 +463,6 @@ struct arch_timer_kvm_info *arch_timer_get_kvm_info(void) > return &arch_timer_kvm_info; > } > > -struct timecounter *arch_timer_get_timecounter(void) > -{ > - return &arch_timer_kvm_info.timecounter; > -} > - > static void __init arch_counter_register(unsigned type) > { > u64 start_count; > diff --git a/include/clocksource/arm_arch_timer.h b/include/clocksource/arm_arch_timer.h > index 9dd996a..caedb74 100644 > --- a/include/clocksource/arm_arch_timer.h > +++ b/include/clocksource/arm_arch_timer.h > @@ -58,7 +58,6 @@ struct arch_timer_kvm_info { > > extern u32 arch_timer_get_rate(void); > extern u64 (*arch_timer_read_counter)(void); > -extern struct timecounter *arch_timer_get_timecounter(void); > extern struct arch_timer_kvm_info *arch_timer_get_kvm_info(void); > > #else > @@ -73,11 +72,6 @@ static inline u64 arch_timer_read_counter(void) > return 0; > } > > -static inline struct timecounter *arch_timer_get_timecounter(void) > -{ > - return NULL; > -} > - > #endif > > #endif > -- > 1.9.1 >