summaryrefslogtreecommitdiff
path: root/arch/loongarch/include/asm/bug.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch/include/asm/bug.h')
-rw-r--r--arch/loongarch/include/asm/bug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/loongarch/include/asm/bug.h b/arch/loongarch/include/asm/bug.h
index 561ac1bf79e2..f6f254f2c5db 100644
--- a/arch/loongarch/include/asm/bug.h
+++ b/arch/loongarch/include/asm/bug.h
@@ -45,7 +45,7 @@
#define __WARN_FLAGS(flags) \
do { \
instrumentation_begin(); \
- __BUG_FLAGS(BUGFLAG_WARNING|(flags), ASM_REACHABLE); \
+ __BUG_FLAGS(BUGFLAG_WARNING|(flags), ANNOTATE_REACHABLE(10001b));\
instrumentation_end(); \
} while (0)