[CPUFREQ] powernow-k8: unregister from ACPI perflib in error path

If something fails in the per-CPU initialization in powernow-k8, it should
unregister itself from the ACPI performance library.

Signed-off-by: Dominik Brodowski <linux@brodo.de>
---

 arch/i386/kernel/cpu/cpufreq/powernow-k8.c |    2 ++
 1 files changed, 2 insertions(+)

Index: 2.6.10-rc3/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
===================================================================
--- 2.6.10-rc3.orig/arch/i386/kernel/cpu/cpufreq/powernow-k8.c	2004-12-13 19:19:05.892572987 +0100
+++ 2.6.10-rc3/arch/i386/kernel/cpu/cpufreq/powernow-k8.c	2004-12-13 19:20:12.294298438 +0100
@@ -1010,6 +1010,7 @@
 	/* min/max the cpu is capable of */
 	if (cpufreq_frequency_table_cpuinfo(pol, data->powernow_table)) {
 		printk(KERN_ERR PFX "invalid powernow_table\n");
+		powernow_k8_cpu_exit_acpi(data);
 		kfree(data->powernow_table);
 		kfree(data);
 		return -EINVAL;
@@ -1027,6 +1028,7 @@
 err_out:
 	set_cpus_allowed(current, oldmask);
 	schedule();
+	powernow_k8_cpu_exit_acpi(data);
 
 	kfree(data);
 	return -ENODEV;