sh: use kzalloc() for cpg clocks
authorMagnus Damm <damm@igel.co.jp>
Wed, 17 Jun 2009 04:55:42 +0000 (04:55 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 17 Jun 2009 06:39:53 +0000 (15:39 +0900)
commit4c7eb4ebc9001ce343969f58fa538e164e82000b
tree44dc6a18d17125b9f215b638e458235cb6e6bc67
parent0ec39885b237c35109644f5d8232228026a72715
sh: use kzalloc() for cpg clocks

Convert the shared clock cpg code from bootmem to slab.
Without this patch the current bootmem code triggers
WARN_ON() because the slab is available.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/clock-cpg.c