diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2008-10-17 11:18:09 +0900 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2008-10-17 10:08:56 -0700 |
commit | a0df655ccd0669bd3efc85346dc816833dd1197f (patch) | |
tree | 1262e19ca7240e0bfe949a81da9b879b1976ea6e /arch/ia64/include/asm/machvec_xen.h | |
parent | dcbbecdad53bd6273891ad018f9c6bb8f2b7813c (diff) | |
download | op-kernel-dev-a0df655ccd0669bd3efc85346dc816833dd1197f.zip op-kernel-dev-a0df655ccd0669bd3efc85346dc816833dd1197f.tar.gz |
ia64/xen: define xen machine vector for domU.
define xen machine vector for domU.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/include/asm/machvec_xen.h')
-rw-r--r-- | arch/ia64/include/asm/machvec_xen.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/machvec_xen.h b/arch/ia64/include/asm/machvec_xen.h new file mode 100644 index 0000000..55f9228 --- /dev/null +++ b/arch/ia64/include/asm/machvec_xen.h @@ -0,0 +1,22 @@ +#ifndef _ASM_IA64_MACHVEC_XEN_h +#define _ASM_IA64_MACHVEC_XEN_h + +extern ia64_mv_setup_t dig_setup; +extern ia64_mv_cpu_init_t xen_cpu_init; +extern ia64_mv_irq_init_t xen_irq_init; +extern ia64_mv_send_ipi_t xen_platform_send_ipi; + +/* + * This stuff has dual use! + * + * For a generic kernel, the macros are used to initialize the + * platform's machvec structure. When compiling a non-generic kernel, + * the macros are used directly. + */ +#define platform_name "xen" +#define platform_setup dig_setup +#define platform_cpu_init xen_cpu_init +#define platform_irq_init xen_irq_init +#define platform_send_ipi xen_platform_send_ipi + +#endif /* _ASM_IA64_MACHVEC_XEN_h */ |