From 210b2ad921fd40b8cc49aea9447a7e6663d63616 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 1 Jul 2008 09:02:59 -0700 Subject: [PATCH] Fix commit 8bdd107e0 (jiffies linking error) when not running on Red Hat. From David Erickson . --- datapath/linux-2.6/compat-2.6/include/linux/timer.h | 4 ++++ 1 file changed, 4 insertions(+) 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)))) -- 2.30.2