git: d07bca9b93fd - stable/13 - x86 atomic.h: remove obsoleted comment

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Fri, 11 Feb 2022 11:13:54 UTC
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=d07bca9b93fdb046af15b54f5b689c200ffab446

commit d07bca9b93fdb046af15b54f5b689c200ffab446
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-02-03 17:46:22 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
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);	\