From: Herbert Xu Date: Wed, 6 Feb 2008 09:37:05 +0000 (-0800) Subject: Avoid divide in IS_ALIGN X-Git-Tag: v2.6.25-rc1~725 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f10db6277dfd6dffb80b2182a256d35adb3134bc;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed