aboutsummaryrefslogtreecommitdiff
path: root/kvm/kernel/external-module-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'kvm/kernel/external-module-compat.h')
-rw-r--r--kvm/kernel/external-module-compat.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/kvm/kernel/external-module-compat.h b/kvm/kernel/external-module-compat.h
index 3c445124d..8c50aa85b 100644
--- a/kvm/kernel/external-module-compat.h
+++ b/kvm/kernel/external-module-compat.h
@@ -19,3 +19,15 @@
#ifndef GFP_NOWAIT
#define GFP_NOWAIT (GFP_ATOMIC & ~__GFP_HIGH)
#endif
+
+
+/*
+ * kvm profiling support needs 2.6.20
+ */
+#include <linux/profile.h>
+
+#ifndef KVM_PROFILING
+#define KVM_PROFILING 1234
+#define prof_on 4321
+#endif
+