aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/compiler-gcc.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-03-02 08:51:32 +0100
committerIngo Molnar <mingo@kernel.org>2017-03-02 08:51:32 +0100
commite2679aecf1060063b97bf187ba1c61430aab0701 (patch)
tree5561750fe879c1de1e452a082b4111d1eca7c14c /include/linux/compiler-gcc.h
parentlocking/refcounts: Change WARN() to WARN_ONCE() (diff)
parentMerge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (diff)
downloadwireguard-linux-e2679aecf1060063b97bf187ba1c61430aab0701.tar.xz
wireguard-linux-e2679aecf1060063b97bf187ba1c61430aab0701.zip
Merge branch 'linus' into locking/urgent, to pick up fixes
Diffstat (limited to '')
-rw-r--r--include/linux/compiler-gcc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/compiler-gcc.h b/include/linux/compiler-gcc.h
index 76e28c229805..0efef9cf014f 100644
--- a/include/linux/compiler-gcc.h
+++ b/include/linux/compiler-gcc.h
@@ -200,8 +200,8 @@
#ifdef CONFIG_STACK_VALIDATION
#define annotate_unreachable() ({ \
asm("%c0:\t\n" \
- ".pushsection __unreachable, \"a\"\t\n" \
- ".long %c0b\t\n" \
+ ".pushsection .discard.unreachable\t\n" \
+ ".long %c0b - .\t\n" \
".popsection\t\n" : : "i" (__LINE__)); \
})
#else