diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index a90510d0bbf8..ea33f8adc032 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -434,7 +434,7 @@ void __init fork_init(void) | |||
434 | #ifndef ARCH_MIN_TASKALIGN | 434 | #ifndef ARCH_MIN_TASKALIGN |
435 | #define ARCH_MIN_TASKALIGN 0 | 435 | #define ARCH_MIN_TASKALIGN 0 |
436 | #endif | 436 | #endif |
437 | int align = min_t(int, L1_CACHE_BYTES, ARCH_MIN_TASKALIGN); | 437 | int align = max_t(int, L1_CACHE_BYTES, ARCH_MIN_TASKALIGN); |
438 | 438 | ||
439 | /* create a slab on which task_structs can be allocated */ | 439 | /* create a slab on which task_structs can be allocated */ |
440 | task_struct_cachep = kmem_cache_create("task_struct", | 440 | task_struct_cachep = kmem_cache_create("task_struct", |