diff options
-rw-r--r-- | include/linux/compiler.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h index b5fb034fa6fa..2e0b6322588b 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h | |||
@@ -124,7 +124,10 @@ void ftrace_likely_update(struct ftrace_likely_data *f, int val, | |||
124 | # define ASM_UNREACHABLE | 124 | # define ASM_UNREACHABLE |
125 | #endif | 125 | #endif |
126 | #ifndef unreachable | 126 | #ifndef unreachable |
127 | # define unreachable() do { annotate_reachable(); do { } while (1); } while (0) | 127 | # define unreachable() do { \ |
128 | annotate_unreachable(); \ | ||
129 | __builtin_unreachable(); \ | ||
130 | } while (0) | ||
128 | #endif | 131 | #endif |
129 | 132 | ||
130 | /* | 133 | /* |