projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3849fd
)
fix EWMA backport
author
Johannes Berg
<johannes@sipsolutions.net>
Tue, 2 Apr 2013 22:46:12 +0000
(
00:46
+0200)
committer
Johannes Berg
<johannes@sipsolutions.net>
Tue, 2 Apr 2013 22:46:12 +0000
(
00:46
+0200)
If backporting to a kernel that already has it, the
symbol mangling shouldn't be done ...
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
backport/include/linux/average.h
patch
|
blob
|
history
diff --git
a/backport/include/linux/average.h
b/backport/include/linux/average.h
index fb0f3975bcac1ba748d8ecfb72646e90fc26acdb..16eff0da3b7fd0bd90991e8715bd53ca33e63351 100644
(file)
--- a/
backport/include/linux/average.h
+++ b/
backport/include/linux/average.h
@@
-1,6
+1,6
@@
#include <linux/version.h>
-#if
(LINUX_VERSION_CODE > KERNEL_VERSION(2,6,37))
+#if
ndef CPTCFG_BACKPORT_BUILD_AVERAGE
#include_next <linux/average.h>
#else
/* Exponentially weighted moving average (EWMA) */