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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/compiler-gcc.h b/include/linux/compiler-gcc.h
index 8ea159fc489d..de471346b365 100644
--- a/include/linux/compiler-gcc.h
+++ b/include/linux/compiler-gcc.h
@@ -197,10 +197,10 @@
197 197
198#ifdef CONFIG_STACK_VALIDATION 198#ifdef CONFIG_STACK_VALIDATION
199#define annotate_unreachable() ({ \ 199#define annotate_unreachable() ({ \
200 asm("1:\t\n" \ 200 asm("%c0:\t\n" \
201 ".pushsection __unreachable, \"a\"\t\n" \ 201 ".pushsection __unreachable, \"a\"\t\n" \
202 ".long 1b\t\n" \ 202 ".long %c0b\t\n" \
203 ".popsection\t\n"); \ 203 ".popsection\t\n" : : "i" (__LINE__)); \
204}) 204})
205#else 205#else
206#define annotate_unreachable() 206#define annotate_unreachable()