]> err.no Git - linux-2.6/commit
[PATCH] add DIV_ROUND_UP()
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 26 Sep 2006 06:32:40 +0000 (23:32 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:48:58 +0000 (08:48 -0700)
commit930631edd4b1fe2781d9fe90edbe35d89dfc94cc
tree24341082c9043742e45f7865f54ad3223e2fd89e
parent060ec3d52db417a4fa554b6e14594ca62418c326
[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>
include/linux/kernel.h