sh: Support early clkdev allocations.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 8 Mar 2010 12:46:37 +0000 (21:46 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 9 Mar 2010 02:57:18 +0000 (11:57 +0900)
commit2e733b3f84fa9c2ae60513c5f7b56d599ed2ae02
tree6264e1ee6ebe2f68a24974be3eafcea399effe52
parent51a5006afcd13176276f0935ee57c4cc6f210e83
sh: Support early clkdev allocations.

early platform devices and the like may need to set up clock aliases,
which require an allocation at a time well before the slab allocators
are available. The clock framework comes up after bootmem, so using
bootmem as a fallback should be sufficient.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/clkdev.c