aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/compiler-gcc.h
diff options
context:
space:
mode:
authorMaxime Ripard <mripard@kernel.org>2025-02-06 13:47:32 +0100
committerMaxime Ripard <mripard@kernel.org>2025-02-06 13:47:32 +0100
commit93c7dd1b39444ebd5a6a98e56a363d7a4e646775 (patch)
tree6e186e041d4253059a0e6471cb444ea35da5db09 /include/linux/compiler-gcc.h
parentdrm/rockchip: vop2: Improve display modes handling on RK3588 HDMI0 (diff)
parentLinux 6.14-rc1 (diff)
downloadwireguard-linux-93c7dd1b39444ebd5a6a98e56a363d7a4e646775.tar.xz
wireguard-linux-93c7dd1b39444ebd5a6a98e56a363d7a4e646775.zip
Merge drm/drm-next into drm-misc-next
Bring rc1 to start the new release dev. Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'include/linux/compiler-gcc.h')
-rw-r--r--include/linux/compiler-gcc.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/compiler-gcc.h b/include/linux/compiler-gcc.h
index d0ed9583743f..c9b58188ec61 100644
--- a/include/linux/compiler-gcc.h
+++ b/include/linux/compiler-gcc.h
@@ -52,18 +52,6 @@
*/
#define barrier_before_unreachable() asm volatile("")
-/*
- * Mark a position in code as unreachable. This can be used to
- * suppress control flow warnings after asm blocks that transfer
- * control elsewhere.
- */
-#define unreachable() \
- do { \
- annotate_unreachable(); \
- barrier_before_unreachable(); \
- __builtin_unreachable(); \
- } while (0)
-
#if defined(CONFIG_ARCH_USE_BUILTIN_BSWAP)
#define __HAVE_BUILTIN_BSWAP32__
#define __HAVE_BUILTIN_BSWAP64__