Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3357488ybd; Tue, 25 Jun 2019 00:55:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqyxZCzs/Q6k9W2MRlMTIrcWlNlt7KF5G6eZMnLu0UdRWgcjQDDvy2R0VH8fdctZG27FuswA X-Received: by 2002:a17:90a:a008:: with SMTP id q8mr30618843pjp.114.1561449331568; Tue, 25 Jun 2019 00:55:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561449331; cv=none; d=google.com; s=arc-20160816; b=hshEoaPqjYBlaOc1n5/igsioe848Y8YJoGaSZOG606B/Ndg03jxK0CB6Xg+WMaH7Yk +d0o0Tk/qW7WccZgJur6Xs2pK4T8b/DxfiqDnr2+oRzbxd0HSPzrSek+/6Vumn639AFx PUTrbFpd3pRK/7Mia8N0rmXJMUxiizyVk/ZlhyNj9wknAo36vpILhhPxfPT2jWRZgids pzNcnHfUOU++AXMwI9FG4+EMG7zxEQtqmQF5sKcKaLk+e+nZB6MEQmnc22UXCRL5Eocx fiRnluGQJCY5Z75r9/ngSYowtrCvSsO4AfVMC2jKHIZ/mjL2FWMffhlCffXW4d75487n 5UBw== 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=LWaaVbK9bQYGi9SMe6yD2Id3Gl9UBssPgCcMKzM+gUg=; b=EXHenN1xJCFSv//HKHHDt2K/Ii/bt89DFlw1efIHAFpTTlbHHiB45scF27IpQ2NGHK YhKkpeplx/yHmpSYyVy5faZvYDzEZH/+LTm3n8MllCMPJlUw892SQNhFSVhzi/J23VTj mxZvASaq3p7OFD6rQeO97k/7h2u4dr3R8XiXddGL28zVcq3jggQV9XRcgqoeiWLSnzN8 qmFHzeRO0oLbTsvv0QYPddqV8OZ9phPvaGvQX1Od9gt9O3seaCDuBa0SlQAS8aLJGBuc 5xgWYqIzDgyPYCXgHwWHUPLomxMGwpMoBfKfxBLTH0GsKfbTm+AGMUdYfl2IToZRL5ji yJuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zytor.com header.s=2019061801 header.b=D8+O52UC; 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 g1si13891489pfh.47.2019.06.25.00.55.16; Tue, 25 Jun 2019 00:55:31 -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=D8+O52UC; 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 S1729732AbfFYHuS (ORCPT + 99 others); Tue, 25 Jun 2019 03:50:18 -0400 Received: from terminus.zytor.com ([198.137.202.136]:52577 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726441AbfFYHuS (ORCPT ); Tue, 25 Jun 2019 03:50:18 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id x5P7nlGg3516722 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 25 Jun 2019 00:49:47 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 terminus.zytor.com x5P7nlGg3516722 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2019061801; t=1561448988; bh=LWaaVbK9bQYGi9SMe6yD2Id3Gl9UBssPgCcMKzM+gUg=; h=Date:From:Cc:Reply-To:In-Reply-To:References:To:Subject:From; b=D8+O52UCEGKUsWKNEvzi5OyBE2GyaqqXxYKOZbvJ9ekMUp3PTMnpm1K33X3P2ppy6 3+c6nnNRmZrO0UHIpPfcJaxdLCEZV0T32rGctykCKkut0B2u6hPR1OXz72+GNk1yY9 jtiUd7cbsPQsUfGhUcqmqCEkk/alPvScTMJwZWgWKK0Adr2c1kzuMpR/ODx+9te3Tf HNeVRVviNA/1u7XzyqdKDwMyhmiVkVUonPRz+xpbQvxnxnli2e56Tbdk0WKr0Ymj4a uw0z6xNXrARIurHm0tWdwZqSGSmqcd0Gt3BEN5F9pNiiP8uACLJb9Xeqe1+E6S5pHF FVtiA6CpG93FQ== Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id x5P7nl4H3516719; Tue, 25 Jun 2019 00:49:47 -0700 Date: Tue, 25 Jun 2019 00:49:47 -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: paul.burton@mips.com, will.deacon@arm.com, arnd@arndb.de, salyzyn@android.com, linux@rasmusvillemoes.dk, linux@armlinux.org.uk, tglx@linutronix.de, vincenzo.frascino@arm.com, sthotton@marvell.com, hpa@zytor.com, mingo@kernel.org, andre.przywara@arm.com, shuah@kernel.org, catalin.marinas@arm.com, linux-kernel@vger.kernel.org, huw@codeweavers.com, daniel.lezcano@linaro.org, 0x7f454c46@gmail.com, ralf@linux-mips.org, pcc@google.com Reply-To: andre.przywara@arm.com, shuah@kernel.org, catalin.marinas@arm.com, linux-kernel@vger.kernel.org, huw@codeweavers.com, daniel.lezcano@linaro.org, 0x7f454c46@gmail.com, ralf@linux-mips.org, pcc@google.com, paul.burton@mips.com, will.deacon@arm.com, arnd@arndb.de, salyzyn@android.com, linux@rasmusvillemoes.dk, linux@armlinux.org.uk, tglx@linutronix.de, vincenzo.frascino@arm.com, sthotton@marvell.com, hpa@zytor.com, mingo@kernel.org 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: b4b12aca00d509a233abd28990194628adcd71e6 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=-0.8 required=5.0 tests=ALL_TRUSTED,BAYES_00, 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-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: b4b12aca00d509a233abd28990194628adcd71e6 Gitweb: https://git.kernel.org/tip/b4b12aca00d509a233abd28990194628adcd71e6 Author: Catalin Marinas AuthorDate: Mon, 24 Jun 2019 14:58:12 +0100 Committer: Thomas Gleixner CommitDate: Tue, 25 Jun 2019 09:43:38 +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 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();