On 03/21/2013 03:40 AM, Ingo Molnar wrote:
>
> * Fenghua Yu <[email protected]> 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.
>
Well, it's not that it is early, it is that it actually can execute in
linear mode (paging off).
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/