summaryrefslogtreecommitdiff
path: root/include/asm-ia64
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2008-05-19 22:13:33 +0900
committerTony Luck <tony.luck@intel.com>2008-05-27 14:39:54 -0700
commit3e0879deb700f322f6c81ab34f056fc72d15ec02 (patch)
treefadecbdca3170bfce52d9a954b594bc8e293e879 /include/asm-ia64
parent90aeb169c03a96e22674741f08054023c33d595b (diff)
[IA64] pvops: add an early setup hook for pv_ops.
This patch adds a setup hook in the very early boot sequence before start_kernel() to initialize paravirtualization stuff. The hook will be set by each pv loader code or by using multi entry point. Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/asm-ia64')
-rw-r--r--include/asm-ia64/paravirt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-ia64/paravirt.h b/include/asm-ia64/paravirt.h
index 26b43342308e..1032b216aea6 100644
--- a/include/asm-ia64/paravirt.h
+++ b/include/asm-ia64/paravirt.h
@@ -26,6 +26,9 @@
#ifdef CONFIG_PARAVIRT_GUEST
+#define PARAVIRT_HYPERVISOR_TYPE_DEFAULT 0
+#define PARAVIRT_HYPERVISOR_TYPE_XEN 1
+
#ifndef __ASSEMBLY__
#include <asm/hw_irq.h>