diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2008-02-06 04:37:05 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 13:41:04 -0500 |
commit | f10db6277dfd6dffb80b2182a256d35adb3134bc (patch) | |
tree | a86607ebc3567c2e4098907f986466e07a74f268 /include/asm-blackfin/hardirq.h | |
parent | b0940003f25dd3d2c54c4879809a432a35197f54 (diff) |
Avoid divide in IS_ALIGN
I was happy to discover the brand new IS_ALIGN macro and quickly used it in
my code. To my dismay I found that the generated code used division to
perform the test.
This patch fixes it by changing the % test to an &. This avoids the
division.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-blackfin/hardirq.h')
0 files changed, 0 insertions, 0 deletions