Thomas Gleixner cce4517f33 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
2012-05-05 13:00:21 +02:00
..
2012-03-28 18:30:02 +01:00
2011-03-31 11:26:23 -03:00
2009-07-01 19:38:09 -07:00
2012-03-28 18:30:02 +01:00
2005-04-16 15:20:36 -07:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2005-04-16 15:20:36 -07:00
2010-06-09 11:12:36 +02:00
2008-04-17 10:42:34 -04:00
2012-03-28 18:30:02 +01:00
2010-03-12 15:52:32 -08:00
2012-03-28 18:30:02 +01:00
2009-06-11 09:01:26 -07:00