From: Juergen Gross Date: Fri, 28 Nov 2014 10:53:52 +0000 (+0100) Subject: xen: use common page allocation function in p2m.c X-Git-Tag: omap-for-v3.19/fixes-rc1~69^2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7108c9ce8f6e59f775b0c8250dba52b569b6cba2;p=pandora-kernel.git xen: use common page allocation function in p2m.c In arch/x86/xen/p2m.c three different allocation functions for obtaining a memory page are used: extend_brk(), alloc_bootmem_align() or __get_free_page(). Which of those functions is used depends on the progress of the boot process of the system. Introduce a common allocation routine selecting the to be called allocation routine dynamically based on the boot progress. This allows moving initialization steps without having to care about changing allocation calls. Signed-off-by: Juergen Gross Signed-off-by: David Vrabel --- Reading git-diff-tree failed