Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 126275
b: refs/heads/master
c: 9fe0608
h: refs/heads/master
i:
  126273: 0c0090b
  126271: 7491989
v: v3
  • Loading branch information
Darrick J. Wong authored and Linus Torvalds committed Jan 6, 2009
1 parent 33e2176 commit 0e8ca6e
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: 30079677428ae1349d5063b96f677270dfd54309
refs/heads/master: 9fe06081ef145d6582c39e18203b5fffe6f3abc2
6 changes: 6 additions & 0 deletions trunk/include/linux/kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,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 DIV_ROUND_CLOSEST(x, divisor)( \
{ \
typeof(divisor) __divisor = divisor; \
(((x) + ((__divisor) / 2)) / (__divisor)); \
} \
)

#define _RET_IP_ (unsigned long)__builtin_return_address(0)
#define _THIS_IP_ ({ __label__ __here; __here: (unsigned long)&&__here; })
Expand Down

0 comments on commit 0e8ca6e

Please sign in to comment.