]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] 4680/1: parentheses around NR_IRQS definition
authorRoel Kluin <12o3l@tiscali.nl>
Thu, 29 Nov 2007 13:25:21 +0000 (14:25 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 29 Nov 2007 20:56:57 +0000 (20:56 +0000)
commit98aa686494f92e881869f76bfb734cbb1f53cb13
treea7ca2c424bf2c4a157b95f6997bbcb5e33b3ccfe
parentd28a170d5b67248d690df68d46491ee2cf6f4f6d
[ARM] 4680/1: parentheses around NR_IRQS definition

If NR_IRQS is defined as a sum without surrounding parentheses, this may
lead to problems when used in multiplications. This may lead to problems
in:
arch/ia64/sn/kernel/irq.c:516
arch/x86/kernel/io_apic_32.c:693, 694, 699, 700
fs/proc/proc_misc.c:464

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Acked-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-ixp23xx/irqs.h
include/asm-arm/arch-omap/board-innovator.h