summaryrefslogtreecommitdiff
path: root/arch/sh/kernel
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-12-10 08:16:09 (GMT)
committerPaul Mundt <lethal@linux-sh.org>2008-12-22 09:44:03 (GMT)
commit4d1f3bbec49a080cae753aaa44dc1fc7277b3e50 (patch)
tree0f2ac29f232ceef181a8b1f348b16fee77b2e198 /arch/sh/kernel
parent4eec8834f085e5eaf70e64849f879068256c07c5 (diff)
downloadlinux-fsl-qoriq-4d1f3bbec49a080cae753aaa44dc1fc7277b3e50.tar.xz
sh: Kill off sh64's unused alloc/free_task_struct() definitions.
These were left over from some time ago, sh64 never got around to defining __HAVE_ARCH_TASK_STRUCT_ALLOCATOR during the conversion, and it has no need to. Kill these off and use the generic versions instead. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel')
-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 597cf02..e9bf254 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)
}
}
-struct task_struct * alloc_task_struct(void)
-{
- /* Get task descriptor pages */
- return (struct task_struct *)
- __get_free_pages(GFP_KERNEL, get_order(THREAD_SIZE));
-}
-
-void free_task_struct(struct task_struct *p)
-{
- free_pages((unsigned long) p, get_order(THREAD_SIZE));
-}
-
/*
* Create a kernel thread
*/