projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89d08b1
)
Fixed a linking collision where jiffies have been backported to kernel
author
David Erickson
<derickso@stanford.edu>
Mon, 23 Jun 2008 23:22:49 +0000
(16:22 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 1 Jul 2008 03:27:00 +0000
(20:27 -0700)
2.6.18-53 which is included in CENTOS 5.1.
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 d37fcaddaa4c30496b7f305e670c6f93dfe66c06..6b660201935ff466a25c5ac9e93595a0e1a6bca0 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,7
+4,9
@@
#include_next <linux/timer.h>
#include <linux/version.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)
+#if ((LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)) && \
+ (!defined(RHEL_RELEASE_CODE) || \
+ (RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(5,1))))
extern unsigned long volatile jiffies;