Skip to content

Commit

Permalink
frv: Use core allocator for task_struct
Browse files Browse the repository at this point in the history
There is no point having a copy of the core allocator.

Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: David Howells <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
  • Loading branch information
KAGA-KOKO committed May 5, 2012
1 parent cce4517 commit c6ae063
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
2 changes: 0 additions & 2 deletions arch/frv/include/asm/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@

#define THREAD_SIZE 8192

#define __HAVE_ARCH_TASK_STRUCT_ALLOCATOR

/*
* low level task data that entry.S needs immediate access to
* - this struct should fit entirely inside of one cache line
Expand Down
10 changes: 0 additions & 10 deletions arch/frv/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,6 @@ asmlinkage void ret_from_fork(void);
void (*pm_power_off)(void);
EXPORT_SYMBOL(pm_power_off);

struct task_struct *alloc_task_struct_node(int node)
{
return kmalloc_node(sizeof(task_struct), GFP_KERNEL, node);
}

void free_task_struct(struct task_struct *p)
{
kfree(p);
}

static void core_sleep_idle(void)
{
#ifdef LED_DEBUG_SLEEP
Expand Down

0 comments on commit c6ae063

Please sign in to comment.