aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2011-07-26 00:38:40 -0700
committerNicholas Bellinger <nab@linux-iscsi.org>2011-07-26 09:40:34 +0000
commit277c5f27a2c86a9a733c0ec0f6a9b1032dfa3e15 (patch)
treee2b09b9c0ffa657590981bc4d2af8908efa2f11d /include/linux/kernel.h
parentkernel.h: Add DIV_ROUND_UP_ULL and DIV_ROUND_UP_SECTOR_T macro usage (diff)
downloadlinux-dev-277c5f27a2c86a9a733c0ec0f6a9b1032dfa3e15.tar.xz
linux-dev-277c5f27a2c86a9a733c0ec0f6a9b1032dfa3e15.zip
target: Convert to DIV_ROUND_UP_SECTOR_T usage for sectors / dev_max_sectors
This patch adds the new macro usage of include/linux/kernel.h:DIV_ROUND_UP_SECTOR_T for the new DIV_ROUND_UP_ULL() usage for 32-bit architectures with unsigned long long sector_t division in transport_allocate_data_tasks() usage for target_core_mod v4.1 Reported-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions