diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-04-21 23:38:29 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-04-21 23:38:29 -0700 |
| commit | f377a8228fed60be22b1483fe92f23f5f3ffbc8c (patch) | |
| tree | 7a7ecd36b5f2e5290d3d5157684f9a045eb3289f /include | |
| parent | cec75551495ed8cef9bedcc6517441400e89bf2d (diff) | |
[PATCH] ppc64: Set ARCH_MIN_TASKALIGN
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
We need some alignement of those structs for proper operations especially
with FP and Altivec, or SLAB_DEBUG can break us.
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-ppc64/processor.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 { \ |
