From nobody Thu Mar 09 23:18:02 2023 X-Original-To: dev-commits-src-all@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 4PXlTk2NGQz3xVSP; Thu, 9 Mar 2023 23:18:02 +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 4PXlTk1sfZz3lD2; Thu, 9 Mar 2023 23:18:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678403882; 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=rYQLl5zclQtbkWHg3ki30vsaB8OlJdk99nXX6OlCXWI=; b=eWbqughjpdwJmMYiuisIU32MAvnIaMctz2v33d5FothuFJXRYvzcaAGrRjB9ORPGTgjii7 2o6XrPKVqJE2mhkeCZI40Mjx7qn/U7QFJE8YQ7FwUQE7RBqlsaYDuRFh6tA73zmQfhKMvN NY2Cng8kPEwLbcOVPGvNPcB5kBzmKTXgXzs642RrxE59vj7Z202NGKh9zqOR+h8lGtK3wN vhnMPD0AhZmB/ZzbphRrR159fZM+k+rP9X8mLR1JW82cqRJWH7s0prGNoWzUEF8c919biU DyP51a1saCPSG1sxVLREsw7LbLkvApOUkQ1YBIClkuQRYenYB18XeIr1wavyxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678403882; 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=rYQLl5zclQtbkWHg3ki30vsaB8OlJdk99nXX6OlCXWI=; b=x8OF9SxBxxbfAgowI4B9hSuO99HleaUNBW0JtCGPj4agvPdtXzEEclFnrR9FeEu6D5/939 DMMk/qa4jXpgh9FZdHC5Wrsfl1TuipFpG1B9JJc8yAUGYGCN7wluqE8zzDzCF8EKOrNCa9 cohJOhRhHASTNSyARk7wvHG3w0tIMJc5qp5KOiMXdYoCVjpK2xucCQm84ZvQVI7vj3N2it r7qDYfpSpkXSwUzAgWspusuBP+hqHX/4JKwBxg/gdeWMhgutbg1Gg1gvVGo/mUqWDX5eWn Xc36glmtaBe3fhGt7SB9wn0FKcXg8J8Dpdpq2nHHeqF0ePsc6HqfkWRtjdeSIw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678403882; a=rsa-sha256; cv=none; b=EgcMHiG14t3NNZLxxsCq2P29B//RqHa/RhR4pGGoI3nSH9+MEb7sRY4HxF2JmYC1+tzBT1 bvpXFceZEzXly1YYOjEPCnjhM796OBTwSnH1xih9zHmF5hD5JtBPefFdAE/hoTgOob5Erf aH1dw6aMLiO4ojH2MZ7IXAGNOA/Yd4VYjjEzm7w3oFso6wmdNQhl1p3kgHLnFj54fpLE67 C2/sjoBnVIDBYYpmzAL15bVMPgpaTbspwXLUb1gqFvIhwdLebweZ3nM/V18zLKkyg8G7vO wzTkWJCM3P+B57Z3zSBT2/rIpoOfenkVuD0nyot7QEeb9Ia/+ZuNd7Oenu9iDw== 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 4PXlTk0x7tzQnY; Thu, 9 Mar 2023 23:18:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 329NI2QP091733; Thu, 9 Mar 2023 23:18:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 329NI2M1091732; Thu, 9 Mar 2023 23:18:02 GMT (envelope-from git) Date: Thu, 9 Mar 2023 23:18:02 GMT Message-Id: <202303092318.329NI2M1091732@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 626d1e4a82e2 - main - netmap: Remove obsolete compatibility defines List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 626d1e4a82e25d274cdadfebfd81a28e968efb5b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=626d1e4a82e25d274cdadfebfd81a28e968efb5b commit 626d1e4a82e25d274cdadfebfd81a28e968efb5b Author: Mark Johnston AuthorDate: 2023-03-09 23:16:53 +0000 Commit: Mark Johnston CommitDate: 2023-03-09 23:16:53 +0000 netmap: Remove obsolete compatibility defines No functional change intended. Reviewed by: vmaffione MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D39001 --- sys/dev/netmap/netmap_freebsd.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sys/dev/netmap/netmap_freebsd.c b/sys/dev/netmap/netmap_freebsd.c index 3b2fdd214f24..296c37576407 100644 --- a/sys/dev/netmap/netmap_freebsd.c +++ b/sys/dev/netmap/netmap_freebsd.c @@ -1024,11 +1024,6 @@ netmap_dev_pager_fault(vm_object_t object, vm_ooffset_t offset, * Replace the passed in reqpage page with our own fake page and * free up the all of the original pages. */ -#ifndef VM_OBJECT_WUNLOCK /* FreeBSD < 10.x */ -#define VM_OBJECT_WUNLOCK VM_OBJECT_UNLOCK -#define VM_OBJECT_WLOCK VM_OBJECT_LOCK -#endif /* VM_OBJECT_WUNLOCK */ - VM_OBJECT_WUNLOCK(object); page = vm_page_getfake(paddr, memattr); VM_OBJECT_WLOCK(object);