ia64/linux-2.6.18-xen.hg

view include/asm-arm/bug.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 _ASMARM_BUG_H
2 #define _ASMARM_BUG_H
5 #ifdef CONFIG_BUG
6 #ifdef CONFIG_DEBUG_BUGVERBOSE
7 extern void __bug(const char *file, int line, void *data) __attribute__((noreturn));
9 /* give file/line information */
10 #define BUG() __bug(__FILE__, __LINE__, NULL)
12 #else
14 /* this just causes an oops */
15 #define BUG() (*(int *)0 = 0)
17 #endif
19 #define HAVE_ARCH_BUG
20 #endif
22 #include <asm-generic/bug.h>
24 #endif