]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/mmu/enlighten: Fix memblock_x86_reserve_range downport.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 31 Jul 2012 19:21:02 +0000 (15:21 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 31 Jul 2012 19:32:32 +0000 (15:32 -0400)
commit561a20249631809e676652fdfd7471497d1e6263
tree10fe3352e8ef681a80a61bf21c328e2acb4896d7
parent4443856dbcb52065658f287cbf6dd17bc5d527d0
xen/mmu/enlighten: Fix memblock_x86_reserve_range downport.

This is not for upstream as it memblock_x86_reserve_range is not
used upstream anymore.

When I back-ported the patches:
xen/x86: Use memblock_reserve for sensitive areas.
xen/mmu: Recycle the Xen provided L4, L3, and L2 pages

I simply used sed s/memblock_reserve/memblock_x86_reserve_range/.
That was incorrect as the parameters are different - memblock_reserve
as second expects the size, while memblock_x86_reserve_range expects
the physical address. This patch fixes those bugs.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/enlighten.c
arch/x86/xen/mmu.c