Messages in this thread Patch in this message | | | Date | Mon, 28 Apr 2008 18:52:33 -0700 | From | Christoph Lameter <> | Subject | [patch 2/9] 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 <clameter@sgi.com>
--- include/asm-x86/thread_info.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Index: linux-2.6/include/asm-x86/thread_info.h =================================================================== --- linux-2.6.orig/include/asm-x86/thread_info.h 2008-04-28 17:18:24.182686168 -0700 +++ linux-2.6/include/asm-x86/thread_info.h 2008-04-28 17:19:43.520434319 -0700 @@ -7,9 +7,11 @@ #ifndef _ASM_X86_THREAD_INFO_H #define _ASM_X86_THREAD_INFO_H -#ifdef CONFIG_X86_32 #include <linux/compiler.h> #include <asm/page.h> +#include <asm/types.h> + +#ifdef CONFIG_X86_32 #ifndef __ASSEMBLY__ #include <asm/processor.h> @@ -192,8 +194,6 @@ static inline struct thread_info *curren #else /* X86_32 */ -#include <asm/page.h> -#include <asm/types.h> #include <asm/pda.h> /* --
| |