monitor/qmp: Update comment for commit 4eaca8de268
[qemu/armbru.git] / include / standard-headers / linux / kernel.h
blob1eeba2ef9242dfd61a820ba615bbefa1372212ac
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _LINUX_KERNEL_H
3 #define _LINUX_KERNEL_H
5 #include "standard-headers/linux/sysinfo.h"
7 /*
8 * 'kernel.h' contains some often-used function prototypes etc
9 */
10 #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)
11 #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask))
13 #define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))
15 #endif /* _LINUX_KERNEL_H */