Skip to contentSkip to conversation

cpufreq/linux/arch/i386/kernel/cpufreq powernow-k8.c,1.1,1.1.2.1

PATCH Ducrot Bruno 1 participant 1 message Sep 30, 2003

lore
Share & tools
lore
#0 lore raw

Update of /mnt/src/cvsroot/cpufreq/linux/arch/i386/kernel/cpufreq In directory flint:/tmp/cvs-serv25208/linux/arch/i386/kernel/cpufreq

Modified Files:

      Tag: LINUX_2_4
	powernow-k8.c 

Log Message:
Merge AMD Opteron/Athlon64 powernow driver.

Index: powernow-k8.c
===================================================================
RCS file: /mnt/src/cvsroot/cpufreq/linux/arch/i386/kernel/cpufreq/powernow-k8.c,v retrieving revision 1.1
retrieving revision 1.1.2.1

powernow-k8.c +1 -2
diff -u -r1.1 -r1.1.2.1
@@ -76,7 +76,6 @@
 	.target = drv_target,
 	.init = drv_cpu_init,
 	.name = "cpufreq-amd64",
-	.owner = THIS_MODULE,
 };
 
 #define SEARCH_UP     1
@@ -494,7 +493,7 @@
 	struct cpuinfo_x86 *c = cpu_data;
 	u32 eax, ebx, ecx, edx;
 
-	if (num_online_cpus() != 1) {
+	if (smp_num_cpus != 1) {
 		printk(KERN_INFO PFX "multiprocessor systems not supported\n");
 		return 0;
 	}