From f377a8228fed60be22b1483fe92f23f5f3ffbc8c Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 21 Apr 2004 23:38:29 -0700 Subject: [PATCH] ppc64: Set ARCH_MIN_TASKALIGN From: Benjamin Herrenschmidt We need some alignement of those structs for proper operations especially with FP and Altivec, or SLAB_DEBUG can break us. --- include/asm-ppc64/processor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/asm-ppc64/processor.h b/include/asm-ppc64/processor.h index ea8bf67f7007..d3e83108c064 100644 --- a/include/asm-ppc64/processor.h +++ b/include/asm-ppc64/processor.h @@ -553,6 +553,8 @@ struct thread_struct { #endif /* CONFIG_ALTIVEC */ }; +#define ARCH_MIN_TASKALIGN 16 + #define INIT_SP (sizeof(init_stack) + (unsigned long) &init_stack) #define INIT_THREAD { \ -- cgit v1.2.3