oops, wrong: smp_processor_id() is the physical APIC ID too. To access a
'logical' ID (in the 0..smp_num_cpus range), use:
cpu_number_map[smp_processor_id()]
-- mingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/