Version:  2.0.40 2.2.26 2.4.37 3.13 3.14 3.15 3.16 3.17 3.18 3.19 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 4.10

Linux/include/uapi/linux/kernel.h

  1 #ifndef _UAPI_LINUX_KERNEL_H
  2 #define _UAPI_LINUX_KERNEL_H
  3 
  4 #include <linux/sysinfo.h>
  5 
  6 /*
  7  * 'kernel.h' contains some often-used function prototypes etc
  8  */
  9 #define __ALIGN_KERNEL(x, a)            __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)
 10 #define __ALIGN_KERNEL_MASK(x, mask)    (((x) + (mask)) & ~(mask))
 11 
 12 #define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))
 13 
 14 #endif /* _UAPI_LINUX_KERNEL_H */
 15 

This page was automatically generated by LXR 0.3.1 (source).  •  Linux is a registered trademark of Linus Torvalds  •  Contact us