Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
kernel.h File Reference
#include <linux/sysinfo.h>

Go to the source code of this file.

Macros

#define __ALIGN_KERNEL(x, a)   __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)
 
#define __ALIGN_KERNEL_MASK(x, mask)   (((x) + (mask)) & ~(mask))
 

Macro Definition Documentation

#define __ALIGN_KERNEL (   x,
  a 
)    __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)

Definition at line 9 of file kernel.h.

#define __ALIGN_KERNEL_MASK (   x,
  mask 
)    (((x) + (mask)) & ~(mask))

Definition at line 10 of file kernel.h.