From: Ingo Molnar Date: Fri, 27 Jan 2017 09:27:10 +0000 (+0100) Subject: x86/boot/e820: Move asm/e820.h to asm/e820/api.h X-Git-Tag: v4.12-rc1~150^2~5^2~54 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=66441bd3cfdcc03816b7009a296c284d70f629e1;p=thirdparty%2Fkernel%2Flinux.git x86/boot/e820: Move asm/e820.h to asm/e820/api.h In line with asm/e820/types.h, move the e820 API declarations to asm/e820/api.h and update all usage sites. This is just a mechanical, obviously correct move & replace patch, there will be subsequent changes to clean up the code and to make better use of the new header organization. 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/boot/header.S b/arch/x86/boot/header.S index 3dd5be33aaa7b..398b290c4c001 100644 --- a/arch/x86/boot/header.S +++ b/arch/x86/boot/header.S @@ -18,7 +18,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/arch/x86/include/asm/e820.h b/arch/x86/include/asm/e820/api.h similarity index 96% rename from arch/x86/include/asm/e820.h rename to arch/x86/include/asm/e820/api.h index 55c1d76c169f3..010efbceb40cb 100644 --- a/arch/x86/include/asm/e820.h +++ b/arch/x86/include/asm/e820/api.h @@ -1,5 +1,5 @@ -#ifndef _ASM_X86_E820_H -#define _ASM_X86_E820_H +#ifndef _ASM_E820_API_H +#define _ASM_E820_API_H /* * E820_X_MAX is the maximum size of the extended E820 table. The extended @@ -70,4 +70,4 @@ static inline bool is_ISA_range(u64 s, u64 e) #include #define HIGH_MEMORY (1024*1024) -#endif /* _ASM_X86_E820_H */ +#endif /* _ASM_E820_API_H */ diff --git a/arch/x86/include/asm/gart.h b/arch/x86/include/asm/gart.h index 156cd5d18d2ab..e26a5d7fc3685 100644 --- a/arch/x86/include/asm/gart.h +++ b/arch/x86/include/asm/gart.h @@ -1,7 +1,7 @@ #ifndef _ASM_X86_GART_H #define _ASM_X86_GART_H -#include +#include extern void set_up_gart_resume(u32, u32); diff --git a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h index 437feb436efa6..ae0b84d8ccb52 100644 --- a/arch/x86/include/asm/pgtable.h +++ b/arch/x86/include/asm/pgtable.h @@ -2,7 +2,7 @@ #define _ASM_X86_PGTABLE_H #include -#include +#include #include diff --git a/arch/x86/include/uapi/asm/bootparam.h b/arch/x86/include/uapi/asm/bootparam.h index b10bf319ed206..2214bfc65c66a 100644 --- a/arch/x86/include/uapi/asm/bootparam.h +++ b/arch/x86/include/uapi/asm/bootparam.h @@ -34,7 +34,7 @@ #include #include #include -#include +#include #include #include