Rev 6934 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6934 | Rev 7143 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #ifndef _UAPI_LINUX_KERNEL_H |
1 | #ifndef _UAPI_LINUX_KERNEL_H |
2 | #define _UAPI_LINUX_KERNEL_H |
2 | #define _UAPI_LINUX_KERNEL_H |
Line 3... | Line 3... | ||
3 | 3 | ||
Line 4... | Line 4... | ||
4 | //#include |
4 | #include |
5 | 5 | ||
6 | /* |
6 | /* |
7 | * 'kernel.h' contains some often-used function prototypes etc |
7 | * 'kernel.h' contains some often-used function prototypes etc |
8 | */ |
8 | */ |
Line -... | Line 9... | ||
- | 9 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1) |
|
Line 9... | Line 10... | ||
9 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1) |
10 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) |