Fix commit 8bdd107e0 (jiffies linking error) when not running on Red Hat.
authorBen Pfaff <blp@nicira.com>
Tue, 1 Jul 2008 16:02:59 +0000 (09:02 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 1 Jul 2008 16:02:59 +0000 (09:02 -0700)
From David Erickson <derickso@stanford.edu>.

datapath/linux-2.6/compat-2.6/include/linux/timer.h

index 6b660201935ff466a25c5ac9e93595a0e1a6bca0..6c3a9b0f54724f03936f054e4d9e0f2731d48633 100644 (file)
@@ -4,6 +4,10 @@
 #include_next <linux/timer.h>
 
 #include <linux/version.h>
+
+#ifndef RHEL_RELEASE_VERSION
+#define RHEL_RELEASE_VERSION(X,Y) ( 0 )
+#endif
 #if ((LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)) && \
      (!defined(RHEL_RELEASE_CODE) || \
       (RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(5,1))))