diff options
| author | Jie Liu <jeff.liu@oracle.com> | 2013-08-13 13:32:00 +0800 |
|---|---|---|
| committer | Ben Myers <bpm@sgi.com> | 2013-08-13 14:19:11 -0500 |
| commit | 2c2bcc0735f4ab052559b539f3fcab4087187232 (patch) | |
| tree | ecc3f2774b2a1f4239e2f7d24490bc906ce61898 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
| parent | 3e7b91cf8c19d89e55df5f05e3010446dbdaba77 (diff) | |
xfs: call roundup_64() to calculate the min_logblks
Replace roundup() with roundup_64() as we calculate min_logblks
with 64-bit divisions. Hence, call roundup() will cause the
following error while compiling a 32-bit kernel:
fs/built-in.o: In function `xfs_log_calc_minimum_size':
fs/xfs/xfs_log_rlimit.c:140: undefined reference to `__udivdi3'
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions
