aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/process_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/kernel/process_64.c')
-rw-r--r--arch/sh/kernel/process_64.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/sh/kernel/process_64.c b/arch/sh/kernel/process_64.c
index 597cf02db3fc..e9bf2548d6d4 100644
--- a/arch/sh/kernel/process_64.c
+++ b/arch/sh/kernel/process_64.c
@@ -305,18 +305,6 @@ void show_regs(struct pt_regs * regs)
305 } 305 }
306} 306}
307 307
308struct task_struct * alloc_task_struct(void)
309{
310 /* Get task descriptor pages */
311 return (struct task_struct *)
312 __get_free_pages(GFP_KERNEL, get_order(THREAD_SIZE));
313}
314
315void free_task_struct(struct task_struct *p)
316{
317 free_pages((unsigned long) p, get_order(THREAD_SIZE));
318}
319
320/* 308/*
321 * Create a kernel thread 309 * Create a kernel thread
322 */ 310 */