ia64/linux-2.6.18-xen.hg

view include/asm-arm/mmzone.h @ 452:c7ed6fe5dca0

kexec: dont initialise regions in reserve_memory()

There is no need to initialise efi_memmap_res and boot_param_res in
reserve_memory() for the initial xen domain as it is done in
machine_kexec_setup_resources() using values from the kexec hypercall.

Signed-off-by: Simon Horman <horms@verge.net.au>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Feb 28 10:55:18 2008 +0000 (2008-02-28)
parents 831230e53067
children
line source
1 /*
2 * linux/include/asm-arm/mmzone.h
3 *
4 * 1999-12-29 Nicolas Pitre Created
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10 #ifndef __ASM_MMZONE_H
11 #define __ASM_MMZONE_H
13 /*
14 * Currently defined in arch/arm/mm/discontig.c
15 */
16 extern pg_data_t discontig_node_data[];
18 /*
19 * Return a pointer to the node data for node n.
20 */
21 #define NODE_DATA(nid) (&discontig_node_data[nid])
23 /*
24 * NODE_MEM_MAP gives the kaddr for the mem_map of the node.
25 */
26 #define NODE_MEM_MAP(nid) (NODE_DATA(nid)->node_mem_map)
28 #include <asm/arch/memory.h>
30 #endif