diff options
author | 2009-02-03 18:40:59 -0600 | |
---|---|---|
committer | 2009-02-19 11:29:31 -0800 | |
commit | 39d481cba27809598e755e184bc0d8ae1d22423e (patch) | |
tree | 15087a039ccdb05749e099e1a1a7ae39e3887a55 /lib/dma-debug.c | |
parent | [IA64] Build fix for __early_pfn_to_nid() undefined link error (diff) | |
download | linux-rng-39d481cba27809598e755e184bc0d8ae1d22423e.tar.xz linux-rng-39d481cba27809598e755e184bc0d8ae1d22423e.zip |
[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 <holt@sgi.com>
Signed-off-by: Tony Luck <aegl@agluck-desktop.(none)>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions