projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34d507b
)
Fix commit 8bdd107e0 (jiffies linking error) when not running on Red Hat.
author
Ben Pfaff
<blp@nicira.com>
Tue, 1 Jul 2008 16:02:59 +0000
(09:02 -0700)
committer
Ben 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
patch
|
blob
|
history
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 6b660201935ff466a25c5ac9e93595a0e1a6bca0..6c3a9b0f54724f03936f054e4d9e0f2731d48633 100644
(file)
--- 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 <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))))