projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: sample discarded events count before reserve
[lttng-modules.git]
/
include
/
wrapper
/
genhd.h
diff --git
a/include/wrapper/genhd.h
b/include/wrapper/genhd.h
index 689803881dbb0f9a950c651d48aa4b9a11e83564..3c6dbcbe41a386e6c0bfa593c6c3bf479009f399 100644
(file)
--- a/
include/wrapper/genhd.h
+++ b/
include/wrapper/genhd.h
@@
-14,6
+14,12
@@
#include <linux/genhd.h>
#include <linux/genhd.h>
+#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,17,0))
+#define LTTNG_GENHD_FL_HIDDEN GENHD_FL_HIDDEN
+#else
+#define LTTNG_GENHD_FL_HIDDEN GENHD_FL_SUPPRESS_PARTITION_INFO
+#endif
+
#ifdef CONFIG_KALLSYMS_ALL
#include <linux/kallsyms.h>
#ifdef CONFIG_KALLSYMS_ALL
#include <linux/kallsyms.h>
This page took
0.02419 seconds
and
4
git commands to generate.