]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitedc18fe284b7a69ece72da8c1c9d2b1fe9194359
tree42b19666615bae3490c894bd0c2e78e1ac752f3a
parentf19b9468eb3ffe94e2c79c048f7fb28726358e67
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