On 07/16/2013 02:03 PM, Yinghai Lu wrote:
>
> Other way could be:
>
> Detect if it get into misc.c directly from
> arch/x86/boot/compressed/head_64.S::startup_64. that is from 64bit
> bootloader.
>
> others go through startup_32 should be 32bit bootloader.
>
> If it with 64bit boot loader path, You can skip parsing mmio in
> misc.c::console_init() calling.
>
Don't hack around it when we can do it right.
-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/