From: Geert Uytterhoeven Date: Fri, 14 Nov 2008 07:10:19 +0000 (+0100) Subject: m68k: Fix off-by-one in m68k_setup_user_interrupt() X-Git-Tag: v2.6.28-rc5~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27123cbc264de89ce6951b1b4c84c223eb0f1702;p=pandora-kernel.git m68k: Fix off-by-one in m68k_setup_user_interrupt() commit 69961c375288bdab7604e0bb1c8d22999bb8a347 ("[PATCH] m68k/Atari: Interrupt updates") added a BUG_ON() with an incorrect upper bound comparison, which causes an early crash on VME boards, where IRQ_USER is 8, cnt is 192 and NR_IRQS is 200. Reported-by: Stephen N Chivers Tested-by: Kars de Jong Signed-off-by: Geert Uytterhoeven Cc: stable@kernel.org Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed