kernel-hacking-2024-linux-s.../include
Herbert Xu f10db6277d 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>
2008-02-06 10:41:04 -08:00
..
acpi
asm-alpha
asm-arm
asm-avr32 read_current_timer() cleanups 2008-02-06 10:41:02 -08:00
asm-blackfin remove mm_{ptov,vtop}() 2008-02-06 10:41:01 -08:00
asm-cris cris: remove unused __dummy, CONST_ADDR and ADDR from bitops.h 2008-02-05 09:44:24 -08:00
asm-frv timerfd: fix remaining architectures 2008-02-05 14:37:15 -08:00
asm-generic remove support for un-needed _extratext section 2008-02-06 10:41:01 -08:00
asm-h8300 remove mm_{ptov,vtop}() 2008-02-06 10:41:01 -08:00
asm-ia64 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 2008-02-05 10:24:52 -08:00
asm-m32r timerfd: fix remaining architectures 2008-02-05 14:37:15 -08:00
asm-m68k cleanup after APUS removal 2008-02-06 10:41:01 -08:00
asm-m68knommu remove mm_{ptov,vtop}() 2008-02-06 10:41:01 -08:00
asm-mips
asm-parisc
asm-powerpc scheduled OSS driver removal 2008-02-06 10:41:02 -08:00
asm-ppc
asm-s390 taskstats scaled time cleanup 2008-02-06 10:41:00 -08:00
asm-sh timerfd: fix remaining architectures 2008-02-05 14:37:15 -08:00
asm-sparc
asm-sparc64 read_current_timer() cleanups 2008-02-06 10:41:02 -08:00
asm-um uml: LDT mutex conversion 2008-02-05 09:44:31 -08:00
asm-v850 remove mm_{ptov,vtop}() 2008-02-06 10:41:01 -08:00
asm-x86 read_current_timer() cleanups 2008-02-06 10:41:02 -08:00
asm-xtensa
crypto
keys
linux Avoid divide in IS_ALIGN 2008-02-06 10:41:04 -08:00
math-emu
media
mtd
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2008-02-05 10:09:07 -08:00
pcmcia
rdma
rxrpc
scsi
sound
video
xen
Kbuild