Blame include/uapi/linux/kernel.h

Packit Service 3880ab
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
Packit Service 3880ab
#ifndef _LINUX_KERNEL_H
Packit Service 3880ab
#define _LINUX_KERNEL_H
Packit Service 3880ab
Packit Service 3880ab
#include <linux/sysinfo.h>
Packit Service 3880ab
Packit Service 3880ab
/*
Packit Service 3880ab
 * 'kernel.h' contains some often-used function prototypes etc
Packit Service 3880ab
 */
Packit Service 3880ab
#define __ALIGN_KERNEL(x, a)		__ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)
Packit Service 3880ab
#define __ALIGN_KERNEL_MASK(x, mask)	(((x) + (mask)) & ~(mask))
Packit Service 3880ab
Packit Service 3880ab
#define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))
Packit Service 3880ab
Packit Service 3880ab
#endif /* _LINUX_KERNEL_H */