diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-25 23:32:40 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-26 08:48:58 -0700 |
commit | 930631edd4b1fe2781d9fe90edbe35d89dfc94cc (patch) | |
tree | 24341082c9043742e45f7865f54ad3223e2fd89e /kernel/power/swap.c | |
parent | 060ec3d52db417a4fa554b6e14594ca62418c326 (diff) | |
download | op-kernel-dev-930631edd4b1fe2781d9fe90edbe35d89dfc94cc.zip op-kernel-dev-930631edd4b1fe2781d9fe90edbe35d89dfc94cc.tar.gz |
[PATCH] add DIV_ROUND_UP()
Add the DIV_ROUND_UP() helper macro: divide `n' by `d', rounding up.
Stolen from the gfs2 tree(!) because the swsusp patches need it.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/power/swap.c')
0 files changed, 0 insertions, 0 deletions