commit | c8872b069c536976b81bccfc95dda945594bc504 | [log] [tgz] |
---|---|---|
author | Julia Lawall <julia@diku.dk> | Sat Aug 02 17:14:21 2008 +0200 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Sat Aug 02 18:45:18 2008 +0100 |
tree | ff131bea50915d6ba95638a51a309af39e32cb84 | |
parent | c4308d1076830a72e05eb3e5f58b9ed851229399 [diff] |
[MTD] Use DIV_ROUND_UP The kernel.h macro DIV_ROUND_UP performs the computation (((n) + (d) - 1) / (d)) but is perhaps more readable. Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>