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

Ingo Molnar
2009-03-14T11:30:59Z

* Ingo Molnar <mingo@elte.hu> wrote:

> * Yinghai Lu <yinghai@kernel.org> wrote:
>
> > + preempt_disable();
> > + cpu = smp_processor_id();
>
> in such cases it's better to use a get_cpu() / put_cpu()
> construct.

i've changed the code to do that.

Ingo