sched: use kzalloc() instead of the bootmem allocator
authorPekka Enberg <penberg@cs.helsinki.fi>
Wed, 10 Jun 2009 20:42:36 +0000 (23:42 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Thu, 11 Jun 2009 16:27:04 +0000 (19:27 +0300)
commit36b7b6d465489c4754c4fd66fcec6086eba87896
treeb24eb922eea26181157c7e99047933d3df08ecfb
parent444f478f65c7ca4606f9965b31feed13fe2bc9fa
sched: use kzalloc() instead of the bootmem allocator

Now that kmem_cache_init() happens before sched_init(), we should use kzalloc()
and not the bootmem allocator.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
kernel/sched.c