--- linux-2.6.1-mm3/arch/i386/kernel/cpu/cpufreq/p4-clockmod.c.orig 2004-01-14 18:15:05.891246656 +0100 +++ linux-2.6.1-mm3/arch/i386/kernel/cpu/cpufreq/p4-clockmod.c 2004-01-14 18:27:35.876231608 +0100 @@ -68,7 +68,11 @@ cpus_allowed = current->cpus_allowed; /* only run on CPU to be set, or on its sibling */ +#ifdef CONFIG_SMP affected_cpu_map = cpu_sibling_map[cpu]; +#else + affected_cpu_map = cpumask_of_cpu(cpu); +#endif set_cpus_allowed(current, affected_cpu_map); BUG_ON(!cpu_isset(smp_processor_id(), affected_cpu_map));