kernel.h: Add DIV_ROUND_UP_ULL and DIV_ROUND_UP_SECTOR_T macro usage
authorNicholas Bellinger <nab@linux-iscsi.org>
Tue, 26 Jul 2011 07:35:26 +0000 (00:35 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 26 Jul 2011 09:17:07 +0000 (09:17 +0000)
commit36a26c69b4c70396ef569c3452690fba0c1dec08
tree42b19666615bae3490c894bd0c2e78e1ac752f3a
parente48354ce078c079996f89d715dfa44814b4eba01
kernel.h: Add DIV_ROUND_UP_ULL and DIV_ROUND_UP_SECTOR_T macro usage

Add new DIV_ROUND_UP_SECTOR_T macro usage for 32-bit architectures requiring
a new DIV_ROUND_UP_ULL, and existing 64-bit usage with DIV_ROUND_UP.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
include/linux/kernel.h