[PATCH] x86_64: Don't warn for overflow in nommu case when dma_mask is < 32bit
authorAndi Kleen <ak@suse.de>
Mon, 15 May 2006 16:19:38 +0000 (18:19 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 16 May 2006 14:59:31 +0000 (07:59 -0700)
commitf0fdabf8bf187c9aafeb139a828c530ef45cf022
treed445ab6a41a30633e335938164698bfc6152a8ad
parent639b421b911bbde1e3fb5ed037a4f8c85a5bffcb
[PATCH] x86_64: Don't warn for overflow in nommu case when dma_mask is < 32bit

This triggers for b44's 1GB DMA workaround which tries to map
first and then bounces.

The 32bit heuristic is reasonable because the IOMMU doesn't attempt
to handle < 32bit masks anyways.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/pci-nommu.c