projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: update block instrumentation for kernel 4.14
[lttng-modules.git]
/
lib
/
align.h
diff --git
a/lib/align.h
b/lib/align.h
index 4929c5124a719a4c48d9d3bcf04f6936b8f57021..5b91ae87410bdff7c031dbae5b8feb6a52b0c7ec 100644
(file)
--- a/
lib/align.h
+++ b/
lib/align.h
@@
-24,7
+24,7
@@
#ifdef __KERNEL__
#include <linux/types.h>
#ifdef __KERNEL__
#include <linux/types.h>
-#include
"bug.h"
+#include
<lib/bug.h>
#define ALIGN_FLOOR(x, a) __ALIGN_FLOOR_MASK(x, (typeof(x)) (a) - 1)
#define __ALIGN_FLOOR_MASK(x, mask) ((x) & ~(mask))
#define ALIGN_FLOOR(x, a) __ALIGN_FLOOR_MASK(x, (typeof(x)) (a) - 1)
#define __ALIGN_FLOOR_MASK(x, mask) ((x) & ~(mask))
@@
-65,7
+65,7
@@
({ \
BUILD_RUNTIME_BUG_ON((alignment) == 0 \
|| ((alignment) & ((alignment) - 1))); \
({ \
BUILD_RUNTIME_BUG_ON((alignment) == 0 \
|| ((alignment) & ((alignment) - 1))); \
- (((align_drift) - (alignment)) & ((alignment) - 1)
;
\
+ (((align_drift) - (alignment)) & ((alignment) - 1)
);
\
})
#endif /* __KERNEL__ */
})
#endif /* __KERNEL__ */
This page took
0.023398 seconds
and
4
git commands to generate.