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)> |
||
|---|---|---|
| .. | ||
| sn2 | ||
| acpi.h | ||
| addrs.h | ||
| arch.h | ||
| bte.h | ||
| clksupport.h | ||
| geo.h | ||
| intr.h | ||
| io.h | ||
| ioc3.h | ||
| klconfig.h | ||
| l1.h | ||
| leds.h | ||
| module.h | ||
| mspec.h | ||
| nodepda.h | ||
| pcibr_provider.h | ||
| pcibus_provider_defs.h | ||
| pcidev.h | ||
| pda.h | ||
| pic.h | ||
| rw_mmr.h | ||
| shub_mmr.h | ||
| shubio.h | ||
| simulator.h | ||
| sn_cpuid.h | ||
| sn_feature_sets.h | ||
| sn_sal.h | ||
| tioca.h | ||
| tioca_provider.h | ||
| tioce.h | ||
| tioce_provider.h | ||
| tiocp.h | ||
| tiocx.h | ||
| types.h | ||