From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8298CC2BA83 for ; Fri, 14 Feb 2020 10:22:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5F73C206B6 for ; Fri, 14 Feb 2020 10:22:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729210AbgBNKWM (ORCPT ); Fri, 14 Feb 2020 05:22:12 -0500 Received: from foss.arm.com ([217.140.110.172]:59398 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729091AbgBNKWM (ORCPT ); Fri, 14 Feb 2020 05:22:12 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8FF29328; Fri, 14 Feb 2020 02:22:11 -0800 (PST) Received: from [192.168.1.18] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9F2323F6CF; Fri, 14 Feb 2020 02:22:07 -0800 (PST) Subject: Re: [patch V2 02/17] ARM: vdso: Remove unused function To: Thomas Gleixner , LKML Cc: x86@kernel.org, John Stultz , Andy Lutomirski , Christophe Leroy , Paolo Bonzini , Juergen Gross , Michael Kelley , Sasha Levin , Ralf Baechle , Paul Burton , James Hogan , Russell King , Catalin Marinas , Will Deacon , Mark Rutland , Marc Zyngier , Andrei Vagin References: <20200207123847.339896630@linutronix.de> <20200207124402.438179009@linutronix.de> From: Vincenzo Frascino Message-ID: <60daf0c9-a765-514c-072c-9f7f9eec1e46@arm.com> Date: Fri, 14 Feb 2020 10:21:50 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20200207124402.438179009@linutronix.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/7/20 12:38 PM, Thomas Gleixner wrote: > From: Thomas Gleixner > > The function is nowhere used. Aside of that this check should only cover > the high resolution parts of the VDSO which require a VDSO capable > clocksource and not the complete functionality as the name suggests. Will > be replaced with something more useful. > > Signed-off-by: Thomas Gleixner > Reviewed-by: Vincenzo Frascino Tested-by: Vincenzo Frascino > --- > arch/arm/include/asm/vdso/vsyscall.h | 7 ------- > 1 file changed, 7 deletions(-) > > --- a/arch/arm/include/asm/vdso/vsyscall.h > +++ b/arch/arm/include/asm/vdso/vsyscall.h > @@ -50,13 +50,6 @@ int __arm_get_clock_mode(struct timekeep > #define __arch_get_clock_mode __arm_get_clock_mode > > static __always_inline > -int __arm_use_vsyscall(struct vdso_data *vdata) > -{ > - return vdata[CS_HRES_COARSE].clock_mode; > -} > -#define __arch_use_vsyscall __arm_use_vsyscall > - > -static __always_inline > void __arm_sync_vdso_data(struct vdso_data *vdata) > { > flush_dcache_page(virt_to_page(vdata)); > -- Regards, Vincenzo