summaryrefslogtreecommitdiff
path: root/init/init_task.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2012-05-03 09:02:47 (GMT)
committerThomas Gleixner <tglx@linutronix.de>2012-05-05 11:00:21 (GMT)
commitcce4517f33384c3794c759e206cc8e1bb6df146b (patch)
treebc77454534553be9588281f8b8210b34697e3f69 /init/init_task.c
parent43a18b1e588d1b6a993eedd44dd3154590d9bebd (diff)
downloadlinux-fsl-qoriq-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/init_task.c')
0 files changed, 0 insertions, 0 deletions