From: Ben Pfaff Date: Tue, 1 Jul 2008 16:02:59 +0000 (-0700) Subject: Fix commit 8bdd107e0 (jiffies linking error) when not running on Red Hat. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=210b2ad921fd40b8cc49aea9447a7e6663d63616;p=openvswitch Fix commit 8bdd107e0 (jiffies linking error) when not running on Red Hat. From David Erickson . --- diff --git a/datapath/linux-2.6/compat-2.6/include/linux/timer.h b/datapath/linux-2.6/compat-2.6/include/linux/timer.h index 6b660201..6c3a9b0f 100644 --- a/datapath/linux-2.6/compat-2.6/include/linux/timer.h +++ b/datapath/linux-2.6/compat-2.6/include/linux/timer.h @@ -4,6 +4,10 @@ #include_next #include + +#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))))