aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/processor_64.h
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-01-30 07:31:31 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:31:31 -0500
commitdbcb4660246c240a159b4037067fdedb563a63cb (patch)
treea6f7bbbd1165c14a245bfb6485302b97c6093d2e /include/asm-x86/processor_64.h
parentcb38d377337cadd73fe4c582f77c5273685aeb71 (diff)
x86: unify TASK_ALIGN definitions
This patch moves the TASK_ALIGN constraints to common header. The base of it is the same for x86_64 and i386. The only difference is the presence of vSMP in x86_64. As it's not a worry in i386, we can safely use the same code for both. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/processor_64.h')
-rw-r--r--include/asm-x86/processor_64.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/asm-x86/processor_64.h b/include/asm-x86/processor_64.h
index 4b4ec3d79910..7fe5c1461c83 100644
--- a/include/asm-x86/processor_64.h
+++ b/include/asm-x86/processor_64.h
@@ -117,14 +117,6 @@ struct orig_ist {
117}; 117};
118DECLARE_PER_CPU(struct orig_ist, orig_ist); 118DECLARE_PER_CPU(struct orig_ist, orig_ist);
119 119
120#ifdef CONFIG_X86_VSMP
121#define ARCH_MIN_TASKALIGN (1 << INTERNODE_CACHE_SHIFT)
122#define ARCH_MIN_MMSTRUCT_ALIGN (1 << INTERNODE_CACHE_SHIFT)
123#else
124#define ARCH_MIN_TASKALIGN 16
125#define ARCH_MIN_MMSTRUCT_ALIGN 0
126#endif
127
128#define INIT_THREAD { \ 120#define INIT_THREAD { \
129 .sp0 = (unsigned long)&init_stack + sizeof(init_stack) \ 121 .sp0 = (unsigned long)&init_stack + sizeof(init_stack) \
130} 122}