aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/thread_info.h
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2008-04-28 21:52:33 -0400
committerIngo Molnar <mingo@elte.hu>2008-05-12 15:28:02 -0400
commit12a638e13c68bbe187782518dab375f4fa800fc4 (patch)
treef08865dcb67f24519c6f02fb08aa01f4889f45e6 /include/asm-x86/thread_info.h
parent2052e8d40ad58b1d364f900e70edfda62caa0874 (diff)
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> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/thread_info.h')
-rw-r--r--include/asm-x86/thread_info.h6
1 files changed, 3 insertions, 3 deletions
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 @@
7#ifndef _ASM_X86_THREAD_INFO_H 7#ifndef _ASM_X86_THREAD_INFO_H
8#define _ASM_X86_THREAD_INFO_H 8#define _ASM_X86_THREAD_INFO_H
9 9
10#ifdef CONFIG_X86_32
11#include <linux/compiler.h> 10#include <linux/compiler.h>
12#include <asm/page.h> 11#include <asm/page.h>
12#include <asm/types.h>
13
14#ifdef CONFIG_X86_32
13 15
14#ifndef __ASSEMBLY__ 16#ifndef __ASSEMBLY__
15#include <asm/processor.h> 17#include <asm/processor.h>
@@ -192,8 +194,6 @@ static inline struct thread_info *current_thread_info(void)
192 194
193#else /* X86_32 */ 195#else /* X86_32 */
194 196
195#include <asm/page.h>
196#include <asm/types.h>
197#include <asm/pda.h> 197#include <asm/pda.h>
198 198
199/* 199/*