From nobody Fri Feb 11 11:13:54 2022 X-Original-To: dev-commits-src-branches@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 6E63819C71E5; Fri, 11 Feb 2022 11:13:56 +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 4Jw9wg2jFfz3scK; Fri, 11 Feb 2022 11:13:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644578035; 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=YYrxQjrdG06PNcjzHL3FiO0Q39mY0tNOxf2aKEpJtk8=; b=OIMIxAL9ze6TnTgt6RFDyLrB/ScYVhvzZi4Hf1fM98I8vAIyX+x7ofpJIG7e9mwXTJ7/hc 38m7MlC3iLPnYlodtmHOhCJZJ1IfZ0/azLiX8xruz/dvHFij/UX3LR7yX45NdIagM4GeVB +Zs1OdfkeaEzSBXre7nbFr9pKnjGWsjmsPIhz//roc/DOOUqkdAfT+YzDs+leDviKw+NBR IE8N4UXI94VzLomXpNOpL6FAaBiHPGD1xUv4LqClVDORrydRR0I7BU3tDzq28ALofszthZ 1eL9FHWpEEy1sz0Pg/SBP1x4ckH3lj3Pg6qmIm6KtFSq/Bz7t5YaQt62g0R3IQ== 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 F31571348A; Fri, 11 Feb 2022 11:13:54 +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 21BBDs9u078521; Fri, 11 Feb 2022 11:13:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21BBDs2I078520; Fri, 11 Feb 2022 11:13:54 GMT (envelope-from git) Date: Fri, 11 Feb 2022 11:13:54 GMT Message-Id: <202202111113.21BBDs2I078520@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: d07bca9b93fd - stable/13 - x86 atomic.h: remove obsoleted comment List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: d07bca9b93fdb046af15b54f5b689c200ffab446 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644578035; 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=YYrxQjrdG06PNcjzHL3FiO0Q39mY0tNOxf2aKEpJtk8=; b=Jx8xYxq3J/NHBb5zqKdCjDy9bKHtPf/oSv+DHwQBZ8WMyI75EC6JYCvAbbIx3R7kpCAma+ fj4kRj/DEGZuTfDb+CuWjgP/cKgq6py/IJ1qbwEZcMhzzBuzGGTqK8T1LNoYCPBL0s3/QB 8oA99sgJctgeRCDod6l33qwRHrTTkPoYnmmYm3X41prz7YwsowgLb8D97xtsFhXKtcFOv4 56wsNZsJge6FsyGkUnDquQk/FS3DbuDZhpxksBQtd+Ts3SkrWReEQE8luvNYD1oe3Bl7tf 3nosC7MFut3XnACfb9bm7My4Ulkzt+pAAiJDGp+MlLACXGeWlRVv+8ZKWla//Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644578035; a=rsa-sha256; cv=none; b=cO5++FM7eSzvUxebQ142KZ83SIPFuryRr8IoWswDtF+yneHzF8067Hp5Bd2Y13ncVp6wl8 2NGU3tP4IVHxazZKRIDbxWabo4u2hWEEx/HJBZWKvs+J9hhJ4TaG8koa6ukwFiGO9MIwWa BzRpjdDBBzYZYFWyzbXnbiND6wBGsaFMyUjHb6ZCajUXxHRldw+mtLs4EerMbY2pnqZ7Qb 8flhe+l6Oyj63wUd1ywCL1fRo7U8+ULOdikkihx3e8lR6zqhLw26LlTq7i2hyWQki0b1AH XE55XtAUyzZOZnbIlLXqAEZDitv+c4RCyS/DgUE4I12Ui3i17byTatLnD5Qx9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=d07bca9b93fdb046af15b54f5b689c200ffab446 commit d07bca9b93fdb046af15b54f5b689c200ffab446 Author: Konstantin Belousov AuthorDate: 2022-02-03 17:46:22 +0000 Commit: Konstantin Belousov CommitDate: 2022-02-11 10:52:55 +0000 x86 atomic.h: remove obsoleted comment (cherry picked from commit 9596b349bb57e50a2baec8497ced9f712f08f147) --- sys/amd64/include/atomic.h | 8 -------- sys/i386/include/atomic.h | 8 -------- 2 files changed, 16 deletions(-) diff --git a/sys/amd64/include/atomic.h b/sys/amd64/include/atomic.h index 6caf4a050b4c..0cb65c768fd8 100644 --- a/sys/amd64/include/atomic.h +++ b/sys/amd64/include/atomic.h @@ -110,14 +110,6 @@ * atomic_readandclear_long(P) (return (*(u_long *)(P)); *(u_long *)(P) = 0;) */ -/* - * The above functions are expanded inline in the statically-linked - * kernel. Lock prefixes are generated if an SMP kernel is being - * built. - * - * Kernel modules call real functions which are built into the kernel. - * This allows kernel modules to be portable between UP and SMP systems. - */ #if !defined(__GNUCLIKE_ASM) #define ATOMIC_ASM(NAME, TYPE, OP, CONS, V) \ void atomic_##NAME##_##TYPE(volatile u_##TYPE *p, u_##TYPE v); \ diff --git a/sys/i386/include/atomic.h b/sys/i386/include/atomic.h index 2e72de935c23..154144a470c6 100644 --- a/sys/i386/include/atomic.h +++ b/sys/i386/include/atomic.h @@ -96,14 +96,6 @@ __mbu(void) * atomic_readandclear_long(P) (return (*(u_long *)(P)); *(u_long *)(P) = 0;) */ -/* - * The above functions are expanded inline in the statically-linked - * kernel. Lock prefixes are generated if an SMP kernel is being - * built. - * - * Kernel modules call real functions which are built into the kernel. - * This allows kernel modules to be portable between UP and SMP systems. - */ #if !defined(__GNUCLIKE_ASM) #define ATOMIC_ASM(NAME, TYPE, OP, CONS, V) \ void atomic_##NAME##_##TYPE(volatile u_##TYPE *p, u_##TYPE v); \