]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/uapi/linux/kernel.h
Merge tag 'drm-misc-fixes-2018-01-24' of git://anongit.freedesktop.org/drm/drm-misc...
[mirror_ubuntu-bionic-kernel.git] / include / uapi / linux / kernel.h
CommitLineData
6f52b16c 1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
607ca46e
DH
2#ifndef _UAPI_LINUX_KERNEL_H
3#define _UAPI_LINUX_KERNEL_H
4
5#include <linux/sysinfo.h>
6
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))
12
b5d3755a 13#define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))
607ca46e
DH
14
15#endif /* _UAPI_LINUX_KERNEL_H */