From nobody Wed Nov 15 23:46:50 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SW0F6618gz50tQf; Wed, 15 Nov 2023 23:46:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SW0F65V6Rz3Wf2; Wed, 15 Nov 2023 23:46:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700092010; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=K+0BYvvWuTGRSpZXgTiHoWyxUbQVPNMbrmD3Z2UTarU=; b=MUWm4qHNoscFGPjyi8IAl8SmVJBIjHmqbC7BZZFoiloud7Am6WhEZsj5qKLzqcuxx5vzMh bDvAcr83DQov4S+TIABsDHXpfwXQzIOsXecvaUuc9ooh0HiXHPyk8xR32aMUEJxxRcsp6C yDkB08ZFbd4JYSjR33byXzyjZN70U27LlkeMqNGt73w8HQ4noBJ6YKEfNIZAWjZBuluECF qA52W5GuKChhWVh1t3RSrekZBE7V0S4My1AupcWtDhO51bQJZoYQC39wfJOj8d8FBHhs5Q 3t67GFAVYv4qSLRmrII/HqYS8PxeuSDgymOGNJLA/AlSOg34Q4kUV4U3TADSOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700092010; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=K+0BYvvWuTGRSpZXgTiHoWyxUbQVPNMbrmD3Z2UTarU=; b=rU18AlusxO18AbeGOwnRkzv8SC4Zm0Y2ll/xZhCoDI7pA0LIUjn3P1Q7RaTDSqshGQiznv zxx9LCJak0QFq76xlnRku2W4HyKot3ploW1uU1md8LRJgmU6w3TBuq1BbQGFLuMvJlGws/ sNYQHXutlroHr9+FxJKYWOEq19bfKf6ctgK7fnL798VKFVX2DBfI6Ldcq3WPyVuyQOWZlS lNnxu8X5J54RG2IplTRPuJLCbvpzON1P8Jr7Bnltw20YSGfbFTLbEfNCxKcHUOhKRWxTbI PBcA/1KOHkUJ+rOVwtx2PJHSb1vuc66pcQiHD/6mhRbydwrUcMiespYihFCdtg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700092010; a=rsa-sha256; cv=none; b=ND10PxiD06sp0MVNAqJKrfotbUyumRTiUdfvHPJOs8Hq61OZZq5FsRspmtUKn38SWMQdjJ BQtYKE58v26SMK3NXzzElqpPiI9eESCQI2d8qPh7ZYxY/3c4I3CdqJEfYummxk4HOjpoBo pF+Mm2byAjbq0PE98XaT0ACYoqZieQxcy3iRM4+mBw33iLzxLCh5MMV1pL6NaXrT3QJUBG g5R7PPmhFlfJIjVqZiU+Ju59hBAxxVH+TlUzBd2wL6zTbeHDGJrcw70wz2bvNUDPe57JtY XABxNGDLTNTXYZexBsy+KAewLaKduY+SJe1QufF5Nex7H7clvXAW2n7AmBNaVQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SW0F64Gzhzcxl; Wed, 15 Nov 2023 23:46:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3AFNkoSs032005; Wed, 15 Nov 2023 23:46:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AFNkoEh032002; Wed, 15 Nov 2023 23:46:50 GMT (envelope-from git) Date: Wed, 15 Nov 2023 23:46:50 GMT Message-Id: <202311152346.3AFNkoEh032002@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Brooks Davis Subject: git: 500bf0592cf1 - main - libc: remove unused stub vdso timecounter implementations List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brooks X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 500bf0592cf1de1d26369efe3877d812f724f5c0 Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=500bf0592cf1de1d26369efe3877d812f724f5c0 commit 500bf0592cf1de1d26369efe3877d812f724f5c0 Author: Brooks Davis AuthorDate: 2023-11-15 23:43:56 +0000 Commit: Brooks Davis CommitDate: 2023-11-15 23:43:56 +0000 libc: remove unused stub vdso timecounter implementations All supported architectures have shared page support so remove this unused stub. Reviewed by: imp, kib Differential Revision: https://reviews.freebsd.org/D42619 --- lib/libc/sys/trivial-vdso_tc.c | 45 ------------------------------------------ 1 file changed, 45 deletions(-) diff --git a/lib/libc/sys/trivial-vdso_tc.c b/lib/libc/sys/trivial-vdso_tc.c deleted file mode 100644 index 4a626b7f6cae..000000000000 --- a/lib/libc/sys/trivial-vdso_tc.c +++ /dev/null @@ -1,45 +0,0 @@ -/*- - * Copyright (c) 2013 Konstantin Belousov - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - */ - -#include -#include -#include -#include - -#pragma weak __vdso_gettc -int -__vdso_gettc(const struct vdso_timehands *th, u_int *tc) -{ - - return (ENOSYS); -} - -#pragma weak __vdso_gettimekeep -int -__vdso_gettimekeep(struct vdso_timekeep **tk) -{ - - return (ENOSYS); -}