commit | ed067d4a859ff696373324c5061392e013a7561a | [log] [tgz] |
---|---|---|
author | Krzysztof Kozlowski <krzk@kernel.org> | Tue Apr 11 20:08:34 2017 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Apr 21 20:30:44 2017 +0800 |
tree | ad38c59cb06b548f56d1bbc38845a39b9091a056 | |
parent | 7e207d8550644c1076ceb070f40abf52701253ec [diff] |
linux/kernel.h: Add ALIGN_DOWN macro Few parts of kernel define their own macro for aligning down so provide a common define for this, with the same usage and assumptions as existing ALIGN. Convert also three existing implementations to this one. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>