Commit 12a638e1 authored by Christoph Lameter's avatar Christoph Lameter Committed by Ingo Molnar

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: default avatarChristoph Lameter <clameter@sgi.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 2052e8d4
...@@ -7,9 +7,11 @@ ...@@ -7,9 +7,11 @@
#ifndef _ASM_X86_THREAD_INFO_H #ifndef _ASM_X86_THREAD_INFO_H
#define _ASM_X86_THREAD_INFO_H #define _ASM_X86_THREAD_INFO_H
#ifdef CONFIG_X86_32
#include <linux/compiler.h> #include <linux/compiler.h>
#include <asm/page.h> #include <asm/page.h>
#include <asm/types.h>
#ifdef CONFIG_X86_32
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
#include <asm/processor.h> #include <asm/processor.h>
...@@ -192,8 +194,6 @@ static inline struct thread_info *current_thread_info(void) ...@@ -192,8 +194,6 @@ static inline struct thread_info *current_thread_info(void)
#else /* X86_32 */ #else /* X86_32 */
#include <asm/page.h>
#include <asm/types.h>
#include <asm/pda.h> #include <asm/pda.h>
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment