aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/compiler_attributes.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2024-12-20 10:25:44 +0100
committerIngo Molnar <mingo@kernel.org>2024-12-20 10:25:44 +0100
commit60675d4ca1ef0857e44eba5849b74a3a998d0c0f (patch)
treeb2fa39712aeca80db32be43f3f5be8e5a58bc0a3 /include/linux/compiler_attributes.h
parentx86/mtrr: Rename mtrr_overwrite_state() to guest_force_mtrr_state() (diff)
parentMerge tag 'net-6.13-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff)
downloadwireguard-linux-60675d4ca1ef0857e44eba5849b74a3a998d0c0f.tar.xz
wireguard-linux-60675d4ca1ef0857e44eba5849b74a3a998d0c0f.zip
Merge branch 'linus' into x86/mm, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to '')
-rw-r--r--include/linux/compiler_attributes.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/compiler_attributes.h b/include/linux/compiler_attributes.h
index 32284cd26d52..c16d4199bf92 100644
--- a/include/linux/compiler_attributes.h
+++ b/include/linux/compiler_attributes.h
@@ -95,19 +95,6 @@
#endif
/*
- * Optional: only supported since gcc >= 15
- * Optional: only supported since clang >= 18
- *
- * gcc: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108896
- * clang: https://github.com/llvm/llvm-project/pull/76348
- */
-#if __has_attribute(__counted_by__)
-# define __counted_by(member) __attribute__((__counted_by__(member)))
-#else
-# define __counted_by(member)
-#endif
-
-/*
* Optional: not supported by gcc
* Optional: only supported since clang >= 14.0
*