android_kernel_xiaomi_sm8350/arch/ia64/sn/kernel
Robin Holt 39d481cba2 [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)>
2009-02-19 11:29:31 -08:00
..
sn2 cpumask: IA64: Introduce cpumask_of_{node,pcibus} to replace {node,pcibus}_to_cpumask 2008-12-26 22:23:40 +10:30
bte_error.c
bte.c [IA64] bte_copy of BTE_MAX_XFER trips BUG_ON. 2009-02-19 11:29:31 -08:00
huberror.c
idle.c
io_acpi_init.c PCI: return error on failure to read PCI ROMs 2009-02-04 16:58:41 -08:00
io_common.c ACPI: remove private acpica headers from driver files 2008-12-31 01:15:22 -05:00
io_init.c PCI: return error on failure to read PCI ROMs 2009-02-04 16:58:41 -08:00
iomv.c
irq.c cpumask: make irq_set_affinity() take a const struct cpumask 2008-12-13 21:20:26 +10:30
klconflib.c
machvec.c
Makefile
mca.c
msi_sn.c cpumask: make irq_set_affinity() take a const struct cpumask 2008-12-13 21:20:26 +10:30
pio_phys.S
setup.c [IA64] Clear up section mismatch for sn_check_wars. 2008-12-09 10:08:39 -08:00
tiocx.c IA64: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:40 -08:00