Re: [PATCH] x86/microcode_intel_early.c: Get 32-bit physical addressby __pa_nodebug()

From: Ingo Molnar
Date: Thu Mar 21 2013 - 06:40:26 EST



* Fenghua Yu <fenghua.yu@xxxxxxxxx> wrote:

> + initrd_start_p = (unsigned long *)__pa_nodebug(&initrd_start);
> + initrd_start_addr = (unsigned long)__pa_nodebug(*initrd_start_p);

We should probably use __pa_early() for that - aliased to __pa_nodebug().
That would self-document the purpose.

Thanks,

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/