diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-05-03 13:02:47 +0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-05-05 15:00:21 +0400 |
commit | cce4517f33384c3794c759e206cc8e1bb6df146b (patch) | |
tree | bc77454534553be9588281f8b8210b34697e3f69 /init/Makefile | |
parent | 43a18b1e588d1b6a993eedd44dd3154590d9bebd (diff) | |
download | linux-cce4517f33384c3794c759e206cc8e1bb6df146b.tar.xz |
frv: Use correct size for task_struct allocation
alloc_task_struct_node() allocates THREAD_SIZE and maintains some
weird refcount in the allocated memory. This never blew up as
task_struct size on 32bit machines was always less than THREAD_SIZE
Allocate just sizeof(struct task_struct) and get rid of the magic
refcounting.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: David Howells <dhowells@redhat.com>
Link: http://lkml.kernel.org/r/20120503085033.898475542@linutronix.de
Diffstat (limited to 'init/Makefile')
0 files changed, 0 insertions, 0 deletions