ia64/linux-2.6.18-xen.hg

view include/asm-i386/nmi.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-i386/nmi.h
3 */
4 #ifndef ASM_NMI_H
5 #define ASM_NMI_H
7 #include <linux/pm.h>
9 struct pt_regs;
11 typedef int (*nmi_callback_t)(struct pt_regs * regs, int cpu);
13 /**
14 * set_nmi_callback
15 *
16 * Set a handler for an NMI. Only one handler may be
17 * set. Return 1 if the NMI was handled.
18 */
19 void set_nmi_callback(nmi_callback_t callback);
21 /**
22 * unset_nmi_callback
23 *
24 * Remove the handler previously set.
25 */
26 void unset_nmi_callback(void);
28 extern void setup_apic_nmi_watchdog (void);
29 extern int reserve_lapic_nmi(void);
30 extern void release_lapic_nmi(void);
31 extern void disable_timer_nmi_watchdog(void);
32 extern void enable_timer_nmi_watchdog(void);
33 extern void nmi_watchdog_tick (struct pt_regs * regs);
35 extern unsigned int nmi_watchdog;
36 #define NMI_DEFAULT -1
37 #define NMI_NONE 0
38 #define NMI_IO_APIC 1
39 #define NMI_LOCAL_APIC 2
40 #define NMI_INVALID 3
42 #endif /* ASM_NMI_H */