Skip to content
Commit ab875cf6 authored by Ivan Kokshaysky's avatar Ivan Kokshaysky Committed by Linus Torvalds
Browse files

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: default avatarIvan Kokshaysky <ink@jurassic.park.msu.ru>
Reported-and-tested-by: default avatarBob Tracy <rct@frus.com>
Acked-by: default avatarFUJITA Tomonori <tomof@acm.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 393d94d9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment