Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211681
b: refs/heads/master
c: b28efd5
h: refs/heads/master
i:
  211679: c99c546
v: v3
  • Loading branch information
Eric Paris authored and James Morris committed Oct 20, 2010
1 parent a372c84 commit 783baf2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 686a0f3d71203bbfcc186900bbb8ac2cfc3d803c
refs/heads/master: b28efd54d9d5c8005a29cd8782335beb9daaa32d
7 changes: 6 additions & 1 deletion trunk/include/linux/kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,12 @@ extern const char linux_proc_banner[];

#define FIELD_SIZEOF(t, f) (sizeof(((t*)0)->f))
#define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d))
#define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y))
#define roundup(x, y) ( \
{ \
typeof(y) __y = y; \
(((x) + (__y - 1)) / __y) * __y; \
} \
)
#define rounddown(x, y) ( \
{ \
typeof(x) __x = (x); \
Expand Down

0 comments on commit 783baf2

Please sign in to comment.