aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/compiler-gcc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/compiler-gcc.h')
-rw-r--r--include/linux/compiler-gcc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/compiler-gcc.h b/include/linux/compiler-gcc.h
index de471346b365..f457b520ead6 100644
--- a/include/linux/compiler-gcc.h
+++ b/include/linux/compiler-gcc.h
@@ -215,7 +215,8 @@
215 * this in the preprocessor, but we can live with this because they're 215 * this in the preprocessor, but we can live with this because they're
216 * unreleased. Really, we need to have autoconf for the kernel. 216 * unreleased. Really, we need to have autoconf for the kernel.
217 */ 217 */
218#define unreachable() annotate_unreachable(); __builtin_unreachable() 218#define unreachable() \
219 do { annotate_unreachable(); __builtin_unreachable(); } while (0)
219 220
220/* Mark a function definition as prohibited from being cloned. */ 221/* Mark a function definition as prohibited from being cloned. */
221#define __noclone __attribute__((__noclone__, __optimize__("no-tracer"))) 222#define __noclone __attribute__((__noclone__, __optimize__("no-tracer")))