static unsigned int powernowk8_get (unsigned int cpu){	struct powernow_k8_data *data = powernow_data[cpu];	cpumask_t oldmask = current->cpus_allowed;	unsigned int khz = 0;	set_cpus_allowed(current, cpumask_of_cpu(cpu));	if (smp_processor_id() != cpu) {		printk(KERN_ERR PFX "limiting to CPU %d failed in powernowk8_get\n", cpu);		set_cpus_allowed(current, oldmask);		return 0;	}	preempt_disable();	if (query_current_values_with_pending_wait(data))		goto out;	khz = find_khz_freq_from_fid(data->currfid); out:	preempt_enable_no_resched();	set_cpus_allowed(current, oldmask);	return khz;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/065b807ca1f5bdbeb081e3cf75ac8de9be8ac212/powernow-k8.c/clean/arch/i386/kernel/cpu/cpufreq/powernow-k8.c