summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/paravirt.h
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2008-05-19 15:13:33 +0200
committerTony Luck <tony.luck@intel.com>2008-05-27 23:39:54 +0200
commit3e0879deb700f322f6c81ab34f056fc72d15ec02 (patch)
treefadecbdca3170bfce52d9a954b594bc8e293e879 /include/asm-ia64/paravirt.h
parent[IA64] pvops: introduce pv_info which describes some random info. (diff)
downloadlinux-3e0879deb700f322f6c81ab34f056fc72d15ec02.tar.xz
linux-3e0879deb700f322f6c81ab34f056fc72d15ec02.zip
[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 '')
-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>