From: Robin Holt Date: Wed, 4 Feb 2009 00:40:59 +0000 (-0600) Subject: [IA64] bte_copy of BTE_MAX_XFER trips BUG_ON. X-Git-Tag: v2.6.29-rc6~34^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39d481cba27809598e755e184bc0d8ae1d22423e;p=pandora-kernel.git [IA64] bte_copy of BTE_MAX_XFER trips BUG_ON. BTE_MAX_XFER is wrong. It is one greater than the number of cache lines the BTE is actually able to transfer. If you request a transfer of exactly BTE_MAX_XFER size, you trip a very cryptic BUG_ON() which should certainly be made more clear. This patch fixes that constant and also cleans up the BUG_ON()s in arch/ia64/sn/kernel/bte.c to test one condition per line. Signed-off-by: Robin Holt Signed-off-by: Tony Luck --- Reading git-diff-tree failed