Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211680
b: refs/heads/master
c: 686a0f3
h: refs/heads/master
v: v3
  • Loading branch information
Eric Paris authored and James Morris committed Oct 20, 2010
1 parent c99c546 commit a372c84
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1ae4de0cdf855305765592647025bde55e85e451
refs/heads/master: 686a0f3d71203bbfcc186900bbb8ac2cfc3d803c
6 changes: 6 additions & 0 deletions trunk/include/linux/kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,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 rounddown(x, y) ( \
{ \
typeof(x) __x = (x); \
__x - (__x % (y)); \
} \
)
#define DIV_ROUND_CLOSEST(x, divisor)( \
{ \
typeof(divisor) __divisor = divisor; \
Expand Down

0 comments on commit a372c84

Please sign in to comment.