#ifndef _KERNEL_LIBK_ALIGN_H
#define _KERNEL_LIBK_ALIGN_H

#define div_align_up(x, div) (((x) + (div) - 1) / (div))
#define align_down(x, a)     ((x) & ~((a) - 1))
#define align_up(x, a)       (((x) + ((a) - 1)) & ~((a) - 1))

#endif // _KERNEL_LIBK_ALIGN_H
