repository: /home/avi/kvm
branch: master
commit 8fb6424be696c77f4a13194a1a4656c22e782b3c
Author: Avi Kivity <[EMAIL PROTECTED]>
Date:   Tue Oct 16 16:35:24 2007 +0200

    kvm: external module: backward compatibility for PF_VCPU

diff --git a/kernel/external-module-compat.h b/kernel/external-module-compat.h
index 8e62efb..bd637db 100644
--- a/kernel/external-module-compat.h
+++ b/kernel/external-module-compat.h
@@ -411,3 +411,13 @@ static inline uint64_t div64_64(uint64_t dividend, 
uint64_t divisor)
 typedef _Bool bool;
 
 #endif
+
+/*
+ * PF_VCPU is a Linux 2.6.24 addition
+ */
+
+#include <linux/sched.h>
+
+#ifndef PF_VCPU
+#define PF_VCPU 0
+#endif

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-commits mailing list
kvm-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-commits

Reply via email to