Index: include/linux/kernel.h |
diff --git a/include/linux/kernel.h b/include/linux/kernel.h |
index dd617bdd3018bde3f7259026384a0a1d48cd516b..0a7e322a61bcd23ba5e394a302d19c9612912fc3 100644 |
--- a/include/linux/kernel.h |
+++ b/include/linux/kernel.h |
@@ -15,6 +15,8 @@ |
#define __ALIGN_MASK(x,mask) (((x)+(mask))&~(mask)) |
#define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0) |
+#define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d)) |
+ |
#define sector_div(n, b) ({ \ |
int _res; \ |
_res = (n) % (b); \ |