projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
datapath: Add genl_dereference() and use it.
[openvswitch]
/
datapath
/
linux
/
compat
/
include
/
linux
/
timer.h
diff --git
a/datapath/linux/compat/include/linux/timer.h
b/datapath/linux/compat/include/linux/timer.h
index 6c3a9b0f54724f03936f054e4d9e0f2731d48633..b9954a525e8ca9d70259ac97f6bc406205de63d8 100644
(file)
--- a/
datapath/linux/compat/include/linux/timer.h
+++ b/
datapath/linux/compat/include/linux/timer.h
@@
-6,11
+6,11
@@
#include <linux/version.h>
#ifndef RHEL_RELEASE_VERSION
#include <linux/version.h>
#ifndef RHEL_RELEASE_VERSION
-#define RHEL_RELEASE_VERSION(X,
Y) ( 0
)
+#define RHEL_RELEASE_VERSION(X,
Y) (0
)
#endif
#if ((LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)) && \
#endif
#if ((LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)) && \
- (!defined(RHEL_RELEASE_CODE) || \
-
(RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(5,
1))))
+
(!defined(RHEL_RELEASE_CODE) || \
+
(RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(5,
1))))
extern unsigned long volatile jiffies;
extern unsigned long volatile jiffies;
@@
-88,7
+88,7
@@
static inline unsigned long __round_jiffies(unsigned long j, int cpu)
*/
static inline unsigned long round_jiffies(unsigned long j)
{
*/
static inline unsigned long round_jiffies(unsigned long j)
{
- return __round_jiffies(j, 0); /
/ FIXME
+ return __round_jiffies(j, 0); /
* FIXME */
}
#endif /* linux kernel < 2.6.20 */
}
#endif /* linux kernel < 2.6.20 */