diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-03-26 17:00:50 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-04-09 00:01:58 +0900 |
commit | 418d6e295e4375e1097c511da11795e592aedbeb (patch) | |
tree | ca2d31b0591e688cabd074c3c8cbfcb2008ee112 /arch/x86/include/asm | |
parent | 06bd48b6cd97ef3889b68c8e09014d81dbc463f1 (diff) | |
download | linux-418d6e295e4375e1097c511da11795e592aedbeb.tar.gz linux-418d6e295e4375e1097c511da11795e592aedbeb.tar.bz2 linux-418d6e295e4375e1097c511da11795e592aedbeb.zip |
x86: remove unneeded defined(__ASSEMBLY__) check from asm/dwarf2.h
This header file has the following check at the top:
#ifndef __ASSEMBLY__
#warning "asm/dwarf2.h should be only included in pure assembly files"
#endif
So, we expect defined(__ASSEMBLY__) is always true.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r-- | arch/x86/include/asm/dwarf2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/dwarf2.h b/arch/x86/include/asm/dwarf2.h index f71a0cce9373..87054cc8272e 100644 --- a/arch/x86/include/asm/dwarf2.h +++ b/arch/x86/include/asm/dwarf2.h @@ -36,7 +36,7 @@ #define CFI_SIGNAL_FRAME #endif -#if defined(CONFIG_AS_CFI_SECTIONS) && defined(__ASSEMBLY__) +#if defined(CONFIG_AS_CFI_SECTIONS) #ifndef BUILD_VDSO /* * Emit CFI data in .debug_frame sections, not .eh_frame sections. |