x86/xen: Update e820 table handling to the new core x86 E820 code
authorIngo Molnar <mingo@kernel.org>
Wed, 1 Mar 2017 07:49:47 +0000 (08:49 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 1 Mar 2017 08:02:55 +0000 (09:02 +0100)
commit687d77a5f7b2aae4ea0507888648823f7c24e974
treef6f4b1fd90ae8f61dffd3822bd98e69bbff8fd99
parent0871d5a66da5c41151e0896a90298b163e42f2e0
x86/xen: Update e820 table handling to the new core x86 E820 code

Note that I restructured the Xen E820 logic a bit: instead of trying
to sort the boot parameters, only the kernel's E820 table is sorted.

This is how the x86 code does it and it reduces coupling between
the in-kernel E820 code and the (unchanged) boot parameters.

Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: <stefano.stabellini@eu.citrix.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/xen/enlighten.c