Files
HiSTBLinuxV100R005C00SPC060/source/kernel/linux-4.4.y/include/uapi/linux/kernel.h
T

13 lines
330 B
C
Raw Normal View History

2024-08-12 23:07:00 +08:00
#ifndef _UAPI_LINUX_KERNEL_H
#define _UAPI_LINUX_KERNEL_H
#include <linux/sysinfo.h>
/*
* 'kernel.h' contains some often-used function prototypes etc
*/
#define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)
#define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask))
#endif /* _UAPI_LINUX_KERNEL_H */