Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41103
b: refs/heads/master
c: 2ea5814
h: refs/heads/master
i:
  41101: 5123c3a
  41099: 089b231
  41095: 79b58bf
  41087: a3d2033
v: v3
  • Loading branch information
Linus Torvalds committed Nov 27, 2006
1 parent 9d0f38a commit 6edd0db
Show file tree
Hide file tree
Showing 2 changed files with 4 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: c9c3b86f2ab79f7f6e87eb735f9cc4508b73fc48
refs/heads/master: 2ea5814472c3c910aed5c5b60f1f3b1000e353f1
4 changes: 3 additions & 1 deletion trunk/include/linux/kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ extern const char linux_banner[];

#define STACK_MAGIC 0xdeadbeef

#define ALIGN(x,a) __ALIGN_MASK(x,(typeof(x))(a)-1)
#define __ALIGN_MASK(x,mask) (((x)+(mask))&~(mask))

#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
#define ALIGN(x,a) (((x)+(a)-1UL)&~((a)-1UL))
#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))
Expand Down

0 comments on commit 6edd0db

Please sign in to comment.