mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-06 14:48:06 +00:00
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>
This commit is contained in:
parent
4eec8834f0
commit
4d1f3bbec4
1 changed files with 0 additions and 12 deletions
|
@ -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
|
* Create a kernel thread
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue