Re: [Xen-devel] Re: [PATCH 8 of 13] Add a bootparameter to reserve high linear address space for hypervisors

Andi Kleen
2006-08-02T04:21:38Z

> I think you misunderstand the purpose of parse_early_param? It is
> designed to be called directly by the arch at some point (it is
> idempotent, so the second call in init/main.c does nothing if the arch
> has called it). ie. in i386, it replaces parse_cmdline_early().

Ah I didn't realize that. But why is there a second call in init/main.c?
Looks like a big hack to me. Someone was too lazy to add it to all architectures?

-Andi