From: Christian Krafft Date: Fri, 20 Jul 2007 19:39:20 +0000 (+0200) Subject: [CELL] cbe_cpufreq: fix initialization X-Git-Tag: v2.6.23-rc1~195^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5ecc8719212e2566440818491ec5741689f3743;p=pandora-kernel.git [CELL] cbe_cpufreq: fix initialization This patch fixes the initialization of the cbe_cpufreq driver. The code that initializes the PMI related functions was called per cpu: * registering cpufreq notifier block * registering a pmi handler This ends in a bug that the notifier block gets called in an endless loop. The initialization code is being put to the module init code path by this patch. This way it only gets called once. Signed-off-by: Christian Krafft Signed-off-by: Arnd Bergmann --- Reading git-diff-tree failed