summaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/paravirt_inst.h
diff options
context:
space:
mode:
authorIsaku Yamahata2008-05-19 15:13:37 +0200
committerTony Luck2008-05-28 00:02:17 +0200
commit02e32e36f42f8ea7ee6060d02f2d69ad5bad6d50 (patch)
tree8bf9f8949787e2dae035d7a6c2b545cf825a63b9 /arch/ia64/kernel/paravirt_inst.h
parent[IA64] pvops: define paravirtualized instructions for native. (diff)
downloadkernel-qcow2-linux-02e32e36f42f8ea7ee6060d02f2d69ad5bad6d50.tar.gz
kernel-qcow2-linux-02e32e36f42f8ea7ee6060d02f2d69ad5bad6d50.tar.xz
kernel-qcow2-linux-02e32e36f42f8ea7ee6060d02f2d69ad5bad6d50.zip
[IA64] pvops: paravirtualize minstate.h.
paravirtualize minstate.h which are hand written assembly code. They include sensitive or performance critical privileged instructions. So that they are appropriate for paravirtualization. Cc: Keith Owens <kaos@ocs.com.au> Cc: Akio Takebe <takebe_akio@jp.fujitsu.com> Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/paravirt_inst.h')
-rw-r--r--arch/ia64/kernel/paravirt_inst.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/ia64/kernel/paravirt_inst.h b/arch/ia64/kernel/paravirt_inst.h
new file mode 100644
index 000000000000..5cad6fb2ed19
--- /dev/null
+++ b/arch/ia64/kernel/paravirt_inst.h
@@ -0,0 +1,29 @@
+/******************************************************************************
+ * linux/arch/ia64/xen/paravirt_inst.h
+ *
+ * Copyright (c) 2008 Isaku Yamahata <yamahata at valinux co jp>
+ * VA Linux Systems Japan K.K.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
+#ifdef __IA64_ASM_PARAVIRTUALIZED_XEN
+#include <asm/xen/inst.h>
+#include <asm/xen/minstate.h>
+#else
+#include <asm/native/inst.h>
+#endif
+