Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp754334ybd; Wed, 26 Jun 2019 05:37:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqzIzbewPPWVXcmeX6xvZ8Y3Ewf1uaWO58iwHFpw1spQb086Uoz823kglcO86EiQlzs42jDd X-Received: by 2002:a17:90a:dc86:: with SMTP id j6mr4253125pjv.141.1561552622209; Wed, 26 Jun 2019 05:37:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561552622; cv=none; d=google.com; s=arc-20160816; b=IjVPgzk1jmUiGC4f2UWzIRiP6c6iBYfqqkMzv6XPokc6zORkPgQJmFaYjeEdidHJVl fYSJ8JD41ZNTGq4bxhbDVze588eeIrYndCWRKZuJliPNs8Gjfbd4kWUJCrGeSZjdsUI/ oNEg2cxqH8rJzbwqkr/PGp2bsaOpsseQFB1Sb9j9pyoWy3+dXSqdvQ+Zi+HHtI+dC2Ly GBCRcFAFltG0c6w8RU015I/Spl9b5ylmiO0k0DD6DbqTT3JQ6gld6gDZOsIcCnLwfZMr SVIDOfXkeTtVo2cE5vxoUyXwe4kVGaVFjoL702YDBGxGxBQjRS1SWYY5yd0mWm4FmqWd WR1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:dkim-signature:dkim-filter; bh=SZTf+2cdXAlpzE8KosxqlFWPqMPl1Kf9lyRbnACO8tM=; b=FAuMc/rDdJOp5y0qVpS3tThsZJE831se75EYIDEtZOX6SEyLkkIQmBjItVJo7dWNGx vTvO9kmYzZd2vquWou0LH8wruRlROYydRncmpV8pVxX3/Kp9ndCxU0f9JaNJZwD8X9m1 N8If99hdsVRG7HtyNWD2y6TjKFO2OTMq1gMAkmJgY/r28E4N8oKzQfm494jHI64JvlHo ooLH6zZstW+MbK4mQA8OnJ7mQrKMAyQGqqau4tuRibun8Y5OG2viocPJMwGMLSmnUNUE Sum4lZv2GYO2Bwjp62CzMAw907CUwpyW6RMPOe+L11m0ky7MboW/eHPpyvgiE1mayYLj Px1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zytor.com header.s=2019061801 header.b=ktILwQSx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zytor.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i18si16634196pfd.64.2019.06.26.05.36.44; Wed, 26 Jun 2019 05:37:02 -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; Authentication-Results: mx.google.com; dkim=pass header.i=@zytor.com header.s=2019061801 header.b=ktILwQSx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zytor.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727617AbfFZMfx (ORCPT + 99 others); Wed, 26 Jun 2019 08:35:53 -0400 Received: from terminus.zytor.com ([198.137.202.136]:33707 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727445AbfFZMfw (ORCPT ); Wed, 26 Jun 2019 08:35:52 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id x5QCZEcw4104207 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 26 Jun 2019 05:35:14 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 terminus.zytor.com x5QCZEcw4104207 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2019061801; t=1561552515; bh=SZTf+2cdXAlpzE8KosxqlFWPqMPl1Kf9lyRbnACO8tM=; h=Date:From:Cc:Reply-To:In-Reply-To:References:To:Subject:From; b=ktILwQSx5F2uydn1wPTtnu3oyApzHJDTAUrVXgWybrsdTf1RdAH1U7IvO+Yua0dws FRTNVv1nfkZGmpdgyO+zi/bMOVvPkXYit+VOJIgQnOTU3AEGZAGNIKQsps7mB/STwT RTFxrAkobcVmPoAuODTikMQL5SupjqH0CtyYHd5zJW7X2kbXbuVrov36v4kzbhvUOc sQhgcionHP+CQs4o7iNnJm9ZUML0cJY1pNRcDLMGCKjJ/cXDQGvN9UaDIiI2goFwNP dfuOQdkMjYl1HB0nUDrGRcoxZ6ERUMiGvVSFVBRV9jPpGzCgYD+cyi/t6rfVukRBtH Ulw6c+Z7i00pA== Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id x5QCZDRs4104203; Wed, 26 Jun 2019 05:35:13 -0700 Date: Wed, 26 Jun 2019 05:35:13 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Catalin Marinas Message-ID: Cc: linux-kernel@vger.kernel.org, mingo@kernel.org, hpa@zytor.com, vincenzo.frascino@arm.com, paul.burton@mips.com, will.deacon@arm.com, andre.przywara@arm.com, catalin.marinas@arm.com, arnd@arndb.de, salyzyn@android.com, huw@codeweavers.com, sthotton@marvell.com, daniel.lezcano@linaro.org, linux@armlinux.org.uk, linux@rasmusvillemoes.dk, tglx@linutronix.de, 0x7f454c46@gmail.com, pcc@google.com, shuah@kernel.org, ralf@linux-mips.org Reply-To: andre.przywara@arm.com, arnd@arndb.de, catalin.marinas@arm.com, mingo@kernel.org, linux-kernel@vger.kernel.org, vincenzo.frascino@arm.com, paul.burton@mips.com, will.deacon@arm.com, hpa@zytor.com, pcc@google.com, 0x7f454c46@gmail.com, shuah@kernel.org, ralf@linux-mips.org, sthotton@marvell.com, salyzyn@android.com, huw@codeweavers.com, tglx@linutronix.de, linux@rasmusvillemoes.dk, daniel.lezcano@linaro.org, linux@armlinux.org.uk In-Reply-To: <20190624135812.GC29120@arrakis.emea.arm.com> References: <20190624135812.GC29120@arrakis.emea.arm.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:timers/vdso] arm64: vdso: Remove unnecessary asm-offsets.c definitions Git-Commit-ID: 94fee4d43752b6022428d9de402632904968e15b X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=2.4 required=5.0 tests=ALL_TRUSTED,BAYES_00, DATE_IN_FUTURE_12_24,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU, DKIM_VALID_EF,FREEMAIL_FORGED_REPLYTO,FREEMAIL_REPLYTO_END_DIGIT autolearn=no autolearn_force=no version=3.4.2 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 94fee4d43752b6022428d9de402632904968e15b Gitweb: https://git.kernel.org/tip/94fee4d43752b6022428d9de402632904968e15b Author: Catalin Marinas AuthorDate: Mon, 24 Jun 2019 14:58:12 +0100 Committer: Thomas Gleixner CommitDate: Wed, 26 Jun 2019 07:28:10 +0200 arm64: vdso: Remove unnecessary asm-offsets.c definitions Since the VDSO code has moved to C from assembly, there is no need to define and maintain the corresponding asm offsets. Fixes: 28b1a824a4f4 ("arm64: vdso: Substitute gettimeofday() with C implementation") Signed-off-by: Catalin Marinas Signed-off-by: Thomas Gleixner Cc: Vincenzo Frascino Cc: linux-arch@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mips@vger.kernel.org Cc: linux-kselftest@vger.kernel.org Cc: Will Deacon Cc: Arnd Bergmann Cc: Russell King Cc: Ralf Baechle Cc: Paul Burton Cc: Daniel Lezcano Cc: Mark Salyzyn Cc: Peter Collingbourne Cc: Shuah Khan Cc: Dmitry Safonov <0x7f454c46@gmail.com> Cc: Rasmus Villemoes Cc: Huw Davies Cc: Shijith Thotton Cc: Andre Przywara Link: https://lkml.kernel.org/r/20190624135812.GC29120@arrakis.emea.arm.com --- arch/arm64/kernel/asm-offsets.c | 39 --------------------------------------- 1 file changed, 39 deletions(-) diff --git a/arch/arm64/kernel/asm-offsets.c b/arch/arm64/kernel/asm-offsets.c index e6f7409a78a4..214685760e1c 100644 --- a/arch/arm64/kernel/asm-offsets.c +++ b/arch/arm64/kernel/asm-offsets.c @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include @@ -86,44 +85,6 @@ int main(void) BLANK(); DEFINE(PREEMPT_DISABLE_OFFSET, PREEMPT_DISABLE_OFFSET); BLANK(); - DEFINE(CLOCK_REALTIME, CLOCK_REALTIME); - DEFINE(CLOCK_MONOTONIC, CLOCK_MONOTONIC); - DEFINE(CLOCK_MONOTONIC_RAW, CLOCK_MONOTONIC_RAW); - DEFINE(CLOCK_REALTIME_RES, offsetof(struct vdso_data, hrtimer_res)); - DEFINE(CLOCK_REALTIME_COARSE, CLOCK_REALTIME_COARSE); - DEFINE(CLOCK_MONOTONIC_COARSE,CLOCK_MONOTONIC_COARSE); - DEFINE(CLOCK_COARSE_RES, LOW_RES_NSEC); - DEFINE(NSEC_PER_SEC, NSEC_PER_SEC); - BLANK(); - DEFINE(VDSO_SEQ, offsetof(struct vdso_data, seq)); - DEFINE(VDSO_CLK_MODE, offsetof(struct vdso_data, clock_mode)); - DEFINE(VDSO_CYCLE_LAST, offsetof(struct vdso_data, cycle_last)); - DEFINE(VDSO_MASK, offsetof(struct vdso_data, mask)); - DEFINE(VDSO_MULT, offsetof(struct vdso_data, mult)); - DEFINE(VDSO_SHIFT, offsetof(struct vdso_data, shift)); - DEFINE(VDSO_REALTIME_SEC, offsetof(struct vdso_data, basetime[CLOCK_REALTIME].sec)); - DEFINE(VDSO_REALTIME_NSEC, offsetof(struct vdso_data, basetime[CLOCK_REALTIME].nsec)); - DEFINE(VDSO_MONO_SEC, offsetof(struct vdso_data, basetime[CLOCK_MONOTONIC].sec)); - DEFINE(VDSO_MONO_NSEC, offsetof(struct vdso_data, basetime[CLOCK_MONOTONIC].nsec)); - DEFINE(VDSO_MONO_RAW_SEC, offsetof(struct vdso_data, basetime[CLOCK_MONOTONIC_RAW].sec)); - DEFINE(VDSO_MONO_RAW_NSEC, offsetof(struct vdso_data, basetime[CLOCK_MONOTONIC_RAW].nsec)); - DEFINE(VDSO_BOOTTIME_SEC, offsetof(struct vdso_data, basetime[CLOCK_BOOTTIME].sec)); - DEFINE(VDSO_BOOTTIME_NSEC, offsetof(struct vdso_data, basetime[CLOCK_BOOTTIME].nsec)); - DEFINE(VDSO_TAI_SEC, offsetof(struct vdso_data, basetime[CLOCK_TAI].sec)); - DEFINE(VDSO_TAI_NSEC, offsetof(struct vdso_data, basetime[CLOCK_TAI].nsec)); - DEFINE(VDSO_RT_COARSE_SEC, offsetof(struct vdso_data, basetime[CLOCK_REALTIME_COARSE].sec)); - DEFINE(VDSO_RT_COARSE_NSEC, offsetof(struct vdso_data, basetime[CLOCK_REALTIME_COARSE].nsec)); - DEFINE(VDSO_MONO_COARSE_SEC, offsetof(struct vdso_data, basetime[CLOCK_MONOTONIC_COARSE].sec)); - DEFINE(VDSO_MONO_COARSE_NSEC, offsetof(struct vdso_data, basetime[CLOCK_MONOTONIC_COARSE].nsec)); - DEFINE(VDSO_TZ_MINWEST, offsetof(struct vdso_data, tz_minuteswest)); - DEFINE(VDSO_TZ_DSTTIME, offsetof(struct vdso_data, tz_dsttime)); - BLANK(); - DEFINE(TVAL_TV_SEC, offsetof(struct timeval, tv_sec)); - DEFINE(TSPEC_TV_SEC, offsetof(struct timespec, tv_sec)); - BLANK(); - DEFINE(TZ_MINWEST, offsetof(struct timezone, tz_minuteswest)); - DEFINE(TZ_DSTTIME, offsetof(struct timezone, tz_dsttime)); - BLANK(); DEFINE(CPU_BOOT_STACK, offsetof(struct secondary_data, stack)); DEFINE(CPU_BOOT_TASK, offsetof(struct secondary_data, task)); BLANK();