ia64/linux-2.6.18-xen.hg

view include/asm-v850/pgtable.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 #ifndef __V850_PGTABLE_H__
2 #define __V850_PGTABLE_H__
4 #include <asm-generic/4level-fixup.h>
6 #include <asm/page.h>
9 #define pgd_present(pgd) (1) /* pages are always present on NO_MM */
10 #define pgd_none(pgd) (0)
11 #define pgd_bad(pgd) (0)
12 #define pgd_clear(pgdp) ((void)0)
14 #define pmd_offset(a, b) ((void *)0)
16 #define kern_addr_valid(addr) (1)
19 #define __swp_type(x) (0)
20 #define __swp_offset(x) (0)
21 #define __swp_entry(typ,off) ((swp_entry_t) { ((typ) | ((off) << 7)) })
22 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
23 #define __swp_entry_to_pte(x) ((pte_t) { (x).val })
25 static inline int pte_file (pte_t pte) { return 0; }
28 /* These mean nothing to !CONFIG_MMU. */
29 #define PAGE_NONE __pgprot(0)
30 #define PAGE_SHARED __pgprot(0)
31 #define PAGE_COPY __pgprot(0)
32 #define PAGE_READONLY __pgprot(0)
33 #define PAGE_KERNEL __pgprot(0)
36 /*
37 * ZERO_PAGE is a global shared page that is always zero: used
38 * for zero-mapped memory areas etc. When CONFIG_MMU is not defined, this
39 * should never actually be used, so just define it to something that's
40 * will hopefully cause a bus error if it is.
41 */
42 #define ZERO_PAGE(vaddr) ((void *)0x87654321)
45 /* Some bogus code in procfs uses these; whatever. */
46 #define VMALLOC_START 0
47 #define VMALLOC_END (~0)
50 extern void paging_init (void);
51 #define swapper_pg_dir ((pgd_t *) 0)
53 #define pgtable_cache_init() ((void)0)
56 extern unsigned int kobjsize(const void *objp);
59 #endif /* __V850_PGTABLE_H__ */