Performance: Mark channel and buffer event disabled check unlikely
[lttng-modules.git] / lib / align.h
index 4929c5124a719a4c48d9d3bcf04f6936b8f57021..5b91ae87410bdff7c031dbae5b8feb6a52b0c7ec 100644 (file)
@@ -24,7 +24,7 @@
 #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))
@@ -65,7 +65,7 @@
        ({                                                                     \
                BUILD_RUNTIME_BUG_ON((alignment) == 0                          \
                                   || ((alignment) & ((alignment) - 1)));      \
-               (((align_drift) - (alignment)) & ((alignment) - 1)           \
+               (((align_drift) - (alignment)) & ((alignment) - 1));           \
        })
 
 #endif /* __KERNEL__ */
This page took 0.025567 seconds and 4 git commands to generate.