summaryrefslogtreecommitdiff
path: root/include/uapi/linux/kernel.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux/kernel.h')
-rw-r--r--include/uapi/linux/kernel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/kernel.h b/include/uapi/linux/kernel.h
index 321e39945..466073f0c 100644
--- a/include/uapi/linux/kernel.h
+++ b/include/uapi/linux/kernel.h
@@ -9,5 +9,6 @@
#define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)
#define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask))
+#define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))
#endif /* _UAPI_LINUX_KERNEL_H */