aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/kvm/kvm_cb.c
diff options
context:
space:
mode:
authorSanjay Lal <sanjayl@kymasys.com>2012-11-21 18:34:09 -0800
committerRalf Baechle <ralf@linux-mips.org>2013-05-08 03:55:36 +0200
commitf5c236dd0aaf356627cffc1e0e4ce8a52c534e42 (patch)
tree45ef734083247cb18d4908c538fe2435ac510e27 /arch/mips/kvm/kvm_cb.c
parent06d1838db012eca7df42dc09f8190ab8f8a9f9eb (diff)
KVM/MIPS32: Routines to handle specific traps/exceptions while executing the guest.
Signed-off-by: Sanjay Lal <sanjayl@kymasys.com> Cc: kvm@vger.kernel.org Cc: linux-mips@linux-mips.org Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kvm/kvm_cb.c')
-rw-r--r--arch/mips/kvm/kvm_cb.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/mips/kvm/kvm_cb.c b/arch/mips/kvm/kvm_cb.c
new file mode 100644
index 00000000000..313c2e37b97
--- /dev/null
+++ b/arch/mips/kvm/kvm_cb.c
@@ -0,0 +1,14 @@
+/*
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
+ * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved.
+ * Authors: Yann Le Du <ledu@kymasys.com>
+ */
+
+#include <linux/export.h>
+#include <linux/kvm_host.h>
+
+struct kvm_mips_callbacks *kvm_mips_callbacks;
+EXPORT_SYMBOL(kvm_mips_callbacks);