]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
alpha: fix iommu-related boot panic
authorIvan Kokshaysky <ink@jurassic.park.msu.ru>
Sun, 9 Mar 2008 13:31:17 +0000 (16:31 +0300)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 9 Mar 2008 17:05:15 +0000 (10:05 -0700)
commitab875cf67e89eef150ae8d4ef09c361e47b6b398
tree172ba1078681d4b49b041ead998412f127cb52a4
parent393d94d98b19089ec172566e23557997931b137e
alpha: fix iommu-related boot panic

This fixes a boot panic due to a typo in the recent iommu patchset from
FUJITA Tomonori <tomof@acm.org> - the code used dma_get_max_seg_size()
instead of dma_get_seg_boundary().

It also removes a couple of unnecessary BUG_ON() and ALIGN() macros.

Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Reported-and-tested-by: Bob Tracy <rct@frus.com>
Acked-by: FUJITA Tomonori <tomof@acm.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/alpha/kernel/pci_iommu.c