summaryrefslogtreecommitdiffstats
path: root/mm/memory_hotplug.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2012-05-03 09:02:47 +0000
committerThomas Gleixner <tglx@linutronix.de>2012-05-05 13:00:21 +0200
commitcce4517f33384c3794c759e206cc8e1bb6df146b (patch)
treebc77454534553be9588281f8b8210b34697e3f69 /mm/memory_hotplug.c
parent43a18b1e588d1b6a993eedd44dd3154590d9bebd (diff)
downloadblackbird-op-linux-cce4517f33384c3794c759e206cc8e1bb6df146b.tar.gz
blackbird-op-linux-cce4517f33384c3794c759e206cc8e1bb6df146b.zip
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 'mm/memory_hotplug.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud