xen: move static e820 map to global scope
authorJuergen Gross <jgross@suse.com>
Fri, 17 Jul 2015 04:51:26 +0000 (06:51 +0200)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 20 Aug 2015 11:24:18 +0000 (12:24 +0100)
commit69632ecfcd03b12202ed62dfa0aabac83904f8ac
treea977a301de357ea6df5f8187724df51d5653c2f7
parent8f5b0c63987207fd5c3c1f89c9eb6cb95b30386e
xen: move static e820 map to global scope

Instead of using a function local static e820 map in xen_memory_setup()
and calling various functions in the same source with the map as a
parameter use a map directly accessible by all functions in the source.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/xen/setup.c