aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/linux-headers/linux/const.h
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2023-07-26 01:18:20 +0300
committerroot <root@qavm-2ed34686.qemu>2023-07-26 01:18:20 +0300
commitefba792089e8ed1cdee516e6fe39afa8ccd07570 (patch)
treefa8ff67117859064f23b758a7b333f8b2e3a0859 /contrib/libs/linux-headers/linux/const.h
parent5c939e73d60a6ba835239eaad1edf65ec70c5f17 (diff)
downloadydb-efba792089e8ed1cdee516e6fe39afa8ccd07570.tar.gz
Update contrib/libs/linux-headers to 6.4.5
Diffstat (limited to 'contrib/libs/linux-headers/linux/const.h')
-rw-r--r--contrib/libs/linux-headers/linux/const.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/libs/linux-headers/linux/const.h b/contrib/libs/linux-headers/linux/const.h
index fd885c79b7..1eb84b5087 100644
--- a/contrib/libs/linux-headers/linux/const.h
+++ b/contrib/libs/linux-headers/linux/const.h
@@ -28,4 +28,9 @@
#define _BITUL(x) (_UL(1) << (x))
#define _BITULL(x) (_ULL(1) << (x))
+#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 /* _LINUX_CONST_H */