diff options
Diffstat (limited to 'include/linux/compiler-gcc.h')
-rw-r--r-- | include/linux/compiler-gcc.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/compiler-gcc.h b/include/linux/compiler-gcc.h index bdb80c4aef6e..310f51d42550 100644 --- a/include/linux/compiler-gcc.h +++ b/include/linux/compiler-gcc.h | |||
@@ -201,17 +201,6 @@ | |||
201 | #endif | 201 | #endif |
202 | #endif | 202 | #endif |
203 | 203 | ||
204 | #ifdef CONFIG_STACK_VALIDATION | ||
205 | #define annotate_unreachable() ({ \ | ||
206 | asm("%c0:\t\n" \ | ||
207 | ".pushsection .discard.unreachable\t\n" \ | ||
208 | ".long %c0b - .\t\n" \ | ||
209 | ".popsection\t\n" : : "i" (__LINE__)); \ | ||
210 | }) | ||
211 | #else | ||
212 | #define annotate_unreachable() | ||
213 | #endif | ||
214 | |||
215 | /* | 204 | /* |
216 | * Mark a position in code as unreachable. This can be used to | 205 | * Mark a position in code as unreachable. This can be used to |
217 | * suppress control flow warnings after asm blocks that transfer | 206 | * suppress control flow warnings after asm blocks that transfer |