diff options
-rw-r--r-- | include/linux/kernel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index b526947bdf48..3f648d204c37 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h | |||
@@ -58,6 +58,8 @@ extern const char linux_proc_banner[]; | |||
58 | 58 | ||
59 | #define FIELD_SIZEOF(t, f) (sizeof(((t*)0)->f)) | 59 | #define FIELD_SIZEOF(t, f) (sizeof(((t*)0)->f)) |
60 | #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d)) | 60 | #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d)) |
61 | |||
62 | /* The `const' in roundup() prevents gcc-3.3 from calling __divdi3 */ | ||
61 | #define roundup(x, y) ( \ | 63 | #define roundup(x, y) ( \ |
62 | { \ | 64 | { \ |
63 | const typeof(y) __y = y; \ | 65 | const typeof(y) __y = y; \ |