]> git.baikalelectronics.ru Git - kernel.git/commit
x86: remove unneeded defined(__ASSEMBLY__) check from asm/dwarf2.h
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 26 Mar 2020 08:00:50 +0000 (17:00 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 8 Apr 2020 15:01:58 +0000 (00:01 +0900)
commitd29509e46139397be1a067cbca48bbea46a5aeee
treeca2d31b0591e688cabd074c3c8cbfcb2008ee112
parent75cf1929825736ea1c2553d07de92ae6ce7ea63d
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>
arch/x86/include/asm/dwarf2.h