diff options
author | Peter Zijlstra <peterz@infradead.org> | 2022-03-14 18:05:52 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-03-15 10:32:45 +0100 |
commit | dca5da2abe406168b85f97e22109710ebe0bda08 (patch) | |
tree | 6a4dedd941deeb04b4b7f197ab0bd2898e9a40b2 /arch/x86/include/asm/bug.h | |
parent | be0075951fde739f14ee2b659e2fd6e2499c46c0 (diff) | |
download | lwn-dca5da2abe406168b85f97e22109710ebe0bda08.tar.gz lwn-dca5da2abe406168b85f97e22109710ebe0bda08.zip |
x86,objtool: Move the ASM_REACHABLE annotation to objtool.h
Because we need a variant for .S files too.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/Yi9gOW9f1GGwwUD6@hirez.programming.kicks-ass.net
Diffstat (limited to 'arch/x86/include/asm/bug.h')
-rw-r--r-- | arch/x86/include/asm/bug.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/bug.h b/arch/x86/include/asm/bug.h index bab883c0b6fe..4d20a293c6fd 100644 --- a/arch/x86/include/asm/bug.h +++ b/arch/x86/include/asm/bug.h @@ -4,6 +4,7 @@ #include <linux/stringify.h> #include <linux/instrumentation.h> +#include <linux/objtool.h> /* * Despite that some emulators terminate on UD2, we use it for WARN(). |