[CPUFREQ] Check for not initialized freq on cpufreq changes
authorThomas Renninger <trenn@suse.de>
Wed, 1 Feb 2006 10:38:37 +0000 (11:38 +0100)
committerDave Jones <davej@redhat.com>
Thu, 2 Feb 2006 21:51:44 +0000 (16:51 -0500)
commit9d2725bb815d915fc6c8531097d9e71b579a8763
tree0183fb3860cef820a15b5f66ca5d574918c16640
parente4472cb3706ceea42797ae1dc79d624026986694
[CPUFREQ] Check for not initialized freq on cpufreq changes

Test for old_freq equals 0 to insure not to divide by 0:
______________________________________________

Check for not initialized freq on cpufreq changes

Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/timers/timer_tsc.c