This is a discussion on [patch 2/9] x86: threadinfo: Common include files - Kernel ; 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 --- include/asm-x86/thread_info.h | 6 +++--- 1 file ...
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
---
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
#include
+#include
+
+#ifdef CONFIG_X86_32
#ifndef __ASSEMBLY__
#include
@@ -192,8 +194,6 @@ static inline struct thread_info *curren
#else /* X86_32 */
-#include
-#include
#include
/*
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/