aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/kernel/process.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sh/kernel/process.c b/arch/sh/kernel/process.c
index b2bda83baeef..077e06e1a889 100644
--- a/arch/sh/kernel/process.c
+++ b/arch/sh/kernel/process.c
@@ -26,8 +26,7 @@ void free_thread_info(struct thread_info *ti)
26void thread_info_cache_init(void) 26void thread_info_cache_init(void)
27{ 27{
28 thread_info_cache = kmem_cache_create("thread_info", THREAD_SIZE, 28 thread_info_cache = kmem_cache_create("thread_info", THREAD_SIZE,
29 THREAD_SIZE, 0, NULL); 29 THREAD_SIZE, SLAB_PANIC, NULL);
30 BUG_ON(thread_info_cache == NULL);
31} 30}
32#else 31#else
33struct thread_info *alloc_thread_info(struct task_struct *tsk) 32struct thread_info *alloc_thread_info(struct task_struct *tsk)