From: Magnus Damm Date: Tue, 28 Apr 2009 08:19:50 +0000 (+0000) Subject: sh: setup timers in late_time_init() X-Git-Tag: v2.6.31-rc1~392^2~41^2~118 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e0b842948156e3463879caed12b4ce51bed772e;p=pandora-kernel.git sh: setup timers in late_time_init() This patch moves the SuperH timer setup code from time_init() to late_time_init(). Good things about this change: - interrupts: they are enabled at late_time_init() - mm: regular kmalloc() can be used at late_time_init() Together with moving to late_time_init() this patch changes the sh_cmt driver to always allocate with kmalloc(). This simplifies the code a bit and also fixes section mismatches. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt --- Reading git-diff-tree failed