printk(KERN_ERR "limiting to cpu %u failed\n", cpu); 
printk(KERN_ERR PFX "limiting to cpu %u failed\n", cpu); 
static int check_supported_cpu(unsigned int cpu){	cpumask_t oldmask = CPU_MASK_ALL;	u32 eax, ebx, ecx, edx;	unsigned int rc = 0;	oldmask = current->cpus_allowed;	set_cpus_allowed(current, cpumask_of_cpu(cpu));	if (smp_processor_id() != cpu) {		printk(KERN_ERR "limiting to cpu %u failed\n", cpu);		goto out;	}	if (current_cpu_data.x86_vendor != X86_VENDOR_AMD)		goto out;	eax = cpuid_eax(CPUID_PROCESSOR_SIGNATURE);	if (((eax & CPUID_USE_XFAM_XMOD) != CPUID_USE_XFAM_XMOD) ||	    ((eax & CPUID_XFAM) != CPUID_XFAM_K8) ||	    ((eax & CPUID_XMOD) > CPUID_XMOD_REV_F)) {		printk(KERN_INFO PFX "Processor cpuid %x not supported\n", eax);		goto out;	}	eax = cpuid_eax(CPUID_GET_MAX_CAPABILITIES);	if (eax < CPUID_FREQ_VOLT_CAPABILITIES) {		printk(KERN_INFO PFX		       "No frequency change capabilities detected\n");		goto out;	}	cpuid(CPUID_FREQ_VOLT_CAPABILITIES, &eax, &ebx, &ecx, &edx);	if ((edx & P_STATE_TRANSITION_CAPABLE) != P_STATE_TRANSITION_CAPABLE) {		printk(KERN_INFO PFX "Power state transitions not supported\n");		goto out;	}	rc = 1;out:	set_cpus_allowed(current, oldmask);	return rc;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/8aae8284fece2b8fc404ccd40b7a30aa96f317b5/powernow-k8.c/buggy/arch/i386/kernel/cpu/cpufreq/powernow-k8.c