From: Christoph Lameter Date: Tue, 29 Apr 2008 01:52:33 +0000 (-0700) Subject: x86: threadinfo: common include files X-Git-Tag: firefly_0821_release~19697^2~253^21~11 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=12a638e13c68bbe187782518dab375f4fa800fc4;p=firefly-linux-kernel-4.4.55.git x86: threadinfo: common include files Move shared includes to a common area in thread_info.h Adds asm/types.h for x86_64 and linux/compiler.h for x86_32. Not needed but we can avoid some ifdeffing and it simplifies later joining. Signed-off-by: Christoph Lameter Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/include/asm-x86/thread_info.h b/include/asm-x86/thread_info.h index d59384ac0ba6..d2dc1a3b5d65 100644 --- a/include/asm-x86/thread_info.h +++ b/include/asm-x86/thread_info.h @@ -7,9 +7,11 @@ #ifndef _ASM_X86_THREAD_INFO_H #define _ASM_X86_THREAD_INFO_H -#ifdef CONFIG_X86_32 #include #include +#include + +#ifdef CONFIG_X86_32 #ifndef __ASSEMBLY__ #include @@ -192,8 +194,6 @@ static inline struct thread_info *current_thread_info(void) #else /* X86_32 */ -#include -#include #include /*