Re: [tip:x86/mtrr] x86: more MTRR debug printouts

From: Ingo Molnar
Date: Sat Mar 14 2009 - 07:19:32 EST



* Yinghai Lu <yinghai@xxxxxxxxxx> wrote:

> + preempt_disable();
> + cpu = smp_processor_id();

in such cases it's better to use a get_cpu() / put_cpu()
construct.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/