diff options
Diffstat (limited to 'lib/igt_aux.h')
-rw-r--r-- | lib/igt_aux.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/igt_aux.h b/lib/igt_aux.h index 192c3ad8..fb02c026 100644 --- a/lib/igt_aux.h +++ b/lib/igt_aux.h @@ -293,4 +293,6 @@ void igt_lsof(const char *dpath); #define roundup_power_of_two(x) ((x) != 0 ? 1 << igt_fls((x) - 1) : 0) +#define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) + #endif /* IGT_AUX_H */ |