From: Ingo Molnar Date: Fri, 27 Jan 2017 11:47:01 +0000 (+0100) Subject: x86/boot/e820: Remove unnecessary __ASSEMBLY__ guard X-Git-Tag: v4.12-rc1~150^2~5^2~48 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=993f4b77aa77eceda61e77c2d8645363181fa4ce;p=karo-tx-linux.git x86/boot/e820: Remove unnecessary __ASSEMBLY__ guard asm/e820/api.h had a spurious __ASSEMBLY__ guard - but the API header is not included in any assembly files. Remove it. No change in functionality. Cc: Alex Thorlton Cc: Andy Lutomirski Cc: Borislav Petkov Cc: Brian Gerst Cc: Dan Williams Cc: Denys Vlasenko Cc: H. Peter Anvin Cc: Huang, Ying Cc: Josh Poimboeuf Cc: Juergen Gross Cc: Linus Torvalds Cc: Paul Jackson Cc: Peter Zijlstra Cc: Rafael J. Wysocki Cc: Tejun Heo Cc: Thomas Gleixner Cc: Wei Yang Cc: Yinghai Lu Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/include/asm/e820/api.h b/arch/x86/include/asm/e820/api.h index 88a19257abb9..b45550b662a9 100644 --- a/arch/x86/include/asm/e820/api.h +++ b/arch/x86/include/asm/e820/api.h @@ -3,7 +3,6 @@ #include -#ifndef __ASSEMBLY__ /* see comment in arch/x86/kernel/e820.c */ extern struct e820map *e820; extern struct e820map *e820_saved; @@ -47,7 +46,6 @@ static inline bool is_ISA_range(u64 start, u64 end) return start >= ISA_START_ADDRESS && end <= ISA_END_ADDRESS; } -#endif /* __ASSEMBLY__ */ #include #define HIGH_MEMORY (1024*1024)