projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename event/notifier enabler base field to parent
[lttng-modules.git]
/
include
/
wrapper
/
writeback.h
diff --git
a/include/wrapper/writeback.h
b/include/wrapper/writeback.h
index 74b5482ca3b6957bc9b8fb17e250bb519e4619dd..e62de713588852d7b11f39c0a5104a16ebfb450b 100644
(file)
--- a/
include/wrapper/writeback.h
+++ b/
include/wrapper/writeback.h
@@
-20,7
+20,7
@@
-#if L
INUX_VERSION_CODE >=
KERNEL_VERSION(4,2,0)
+#if L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(4,2,0)
static struct wb_domain *global_wb_domain_sym;
static struct wb_domain *global_wb_domain_sym;
@@
-51,7
+51,7
@@
unsigned long __canary__global_wb_domain(void)
return global_wb_domain.dirty_limit;
}
return global_wb_domain.dirty_limit;
}
-#el
se
+#el
if LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,1,0)
static unsigned long *global_dirty_limit_sym;
static unsigned long *global_dirty_limit_sym;
@@
-88,11
+88,13
@@
unsigned long __canary__global_dirty_limit(void)
#include <linux/writeback.h>
#include <linux/writeback.h>
+#if LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,1,0)
static inline
unsigned long wrapper_global_dirty_limit(void)
{
return global_dirty_limit;
}
static inline
unsigned long wrapper_global_dirty_limit(void)
{
return global_dirty_limit;
}
+#endif
#endif
#endif
This page took
0.023979 seconds
and
4
git commands to generate.