summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryaniv <yaniv@dhcp-1-34.tlv.redhat.com>2009-10-29 13:45:11 +0200
committerYaniv Kamay <ykamay@redhat.com>2009-10-29 14:37:51 +0200
commitcef9698cb045f0e447736f257d4d2ff88c7fd8e0 (patch)
tree973a76958bc35856d6537f4187194305a0e3efe6
parent35843e66fc044935cd861d6bcffa3e77cf786434 (diff)
fix kbuild for kvm_trace cases
-rw-r--r--kernel/external-module-compat.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/kernel/external-module-compat.c b/kernel/external-module-compat.c
index 327fa6b7..7a627bfd 100644
--- a/kernel/external-module-compat.c
+++ b/kernel/external-module-compat.c
@@ -468,3 +468,22 @@ int schedule_hrtimeout(ktime_t *expires, const enum hrtimer_mode mode)
}
#endif
+
+#ifdef kvm_trace_ioctl
+#undef kvm_trace_ioctl
+#endif
+
+#ifdef kvm_trace_cleanup
+#undef kvm_trace_cleanup
+#endif
+
+int kvm_trace_ioctl(unsigned int ioctl, unsigned long arg)
+{
+ return -EINVAL;
+}
+
+void kvm_trace_cleanup(void)
+{
+}
+
+