diff options
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r-- | include/linux/kernel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index c3958ea8d126..06c2768e1330 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h | |||
@@ -34,6 +34,7 @@ extern const char linux_banner[]; | |||
34 | #define ALIGN(x,a) (((x)+(a)-1)&~((a)-1)) | 34 | #define ALIGN(x,a) (((x)+(a)-1)&~((a)-1)) |
35 | #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d)) | 35 | #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d)) |
36 | #define FIELD_SIZEOF(t, f) (sizeof(((t*)0)->f)) | 36 | #define FIELD_SIZEOF(t, f) (sizeof(((t*)0)->f)) |
37 | #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) | ||
37 | 38 | ||
38 | #define KERN_EMERG "<0>" /* system is unusable */ | 39 | #define KERN_EMERG "<0>" /* system is unusable */ |
39 | #define KERN_ALERT "<1>" /* action must be taken immediately */ | 40 | #define KERN_ALERT "<1>" /* action must be taken immediately */ |