Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5187248ybl; Tue, 14 Jan 2020 05:05:07 -0800 (PST) X-Google-Smtp-Source: APXvYqxeM5dV6L15rDkzRrmFJT0O6aXYA8HFmOIAf0WGSDi3zGTwvUM3DTtJxs+E1zcoU5sUsYOv X-Received: by 2002:a9d:811:: with SMTP id 17mr17298479oty.369.1579007107028; Tue, 14 Jan 2020 05:05:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579007107; cv=none; d=google.com; s=arc-20160816; b=xwhSkOt0isNPOpPv8LVUEZajmpMStsPH8mTcJ5NXt9kqqnLFA7y/mX7Y1Gq7ZxCZG9 2YmVh5MNdpMRVNvM0v3P7+p5pV7aGNWQRBzIOWWvTzBLJTF0iP7/19udvSyrpJuZDHjX +KjoUZuUnZn1BhK3UnKQ5qURELi/YwOAwHvLZxz0PQjO53nhNzZQdqITdFSH8gS/bSE4 nptNDGVr8aqe59NRbD0nCUq8BlHDIyqYuGTidf5wu3hTAKTdaW+WiQHPq6f54VgaHMU7 L/pHvCHYTvY352q+dj3FyDxaLG1E/5pB1cPYYN3fzax3+c6gOkDm3UuyBRMHxzErNRpE kAtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=ovki+C00fHwp7nSbOCHyDuYGhhT/9NN0IR3k8HTmmos=; b=gA0/th2gSWDo9MyUZ7IkT+XvvQGB3K7N6t69tHBap+Lf+LYH5GSt4JGzP7JmGANTId krmVdGScmkn8Ra/X4u7BunaJ4ESbFVVmIeh4K3OPOwm9c57J5gZgEMZJlew6xFEzdx+c xJHpP+fxftyDwnNRlqAGnTrpdigGmF8R5vsr3DHjJX4k8qkeko/3AdCPxyNAw7n6xzxb Tgw1CQBBcgpNRsZQilWmnc+Xvn8LjdsnmhABvEZdFYS5UCeQ24R49HbC/Fub5C+KPXT6 po3lFTbrgHOl6OxIRdZVdzT7Kmh62JikAH06+kbdxK+UhHgb1NOyLj0bJiFfSXMbF4N3 G+MA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s17si8728312otq.78.2020.01.14.05.04.54; Tue, 14 Jan 2020 05:05:07 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729260AbgANNDP (ORCPT + 99 others); Tue, 14 Jan 2020 08:03:15 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:43281 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729074AbgANNCp (ORCPT ); Tue, 14 Jan 2020 08:02:45 -0500 Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1irLqB-0004qi-Il; Tue, 14 Jan 2020 14:02:39 +0100 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id 0505D1C085A; Tue, 14 Jan 2020 14:02:24 +0100 (CET) Date: Tue, 14 Jan 2020 13:02:23 -0000 From: "tip-bot2 for Vincenzo Frascino" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] lib/vdso: Build 32 bit specific functions in the right context Cc: Vincenzo Frascino , Thomas Gleixner , Andy Lutomirski , x86 , LKML In-Reply-To: <20190830135902.20861-3-vincenzo.frascino@arm.com> References: <20190830135902.20861-3-vincenzo.frascino@arm.com> MIME-Version: 1.0 Message-ID: <157900694383.396.6172623174438789034.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the timers/core branch of tip: Commit-ID: bf279849ad59538a1518c667c0795ec1fe9dbd66 Gitweb: https://git.kernel.org/tip/bf279849ad59538a1518c667c0795ec1fe9dbd66 Author: Vincenzo Frascino AuthorDate: Fri, 30 Aug 2019 14:58:56 +01:00 Committer: Thomas Gleixner CommitterDate: Tue, 14 Jan 2020 12:20:44 +01:00 lib/vdso: Build 32 bit specific functions in the right context clock_gettime32 and clock_getres_time32 should be compiled only with a 32 bit vdso library. Exclude these symbols when BUILD_VDSO32 is not defined. Signed-off-by: Vincenzo Frascino Signed-off-by: Thomas Gleixner Reviewed-by: Andy Lutomirski Link: https://lore.kernel.org/r/20190830135902.20861-3-vincenzo.frascino@arm.com --- lib/vdso/gettimeofday.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/vdso/gettimeofday.c b/lib/vdso/gettimeofday.c index 42bd8ab..8e77071 100644 --- a/lib/vdso/gettimeofday.c +++ b/lib/vdso/gettimeofday.c @@ -117,6 +117,7 @@ __cvdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) return 0; } +#ifdef BUILD_VDSO32 static __maybe_unused int __cvdso_clock_gettime32(clockid_t clock, struct old_timespec32 *res) { @@ -139,6 +140,7 @@ __cvdso_clock_gettime32(clockid_t clock, struct old_timespec32 *res) } return ret; } +#endif /* BUILD_VDSO32 */ static __maybe_unused int __cvdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) @@ -231,6 +233,7 @@ int __cvdso_clock_getres(clockid_t clock, struct __kernel_timespec *res) return 0; } +#ifdef BUILD_VDSO32 static __maybe_unused int __cvdso_clock_getres_time32(clockid_t clock, struct old_timespec32 *res) { @@ -253,4 +256,5 @@ __cvdso_clock_getres_time32(clockid_t clock, struct old_timespec32 *res) } return ret; } +#endif /* BUILD_VDSO32 */ #endif /* VDSO_HAS_CLOCK_GETRES */