Skip to content
Commit 24af8cb8 authored by Olof Johansson's avatar Olof Johansson Committed by Linus Torvalds
Browse files

POWERPC: Set dma_data correctly for direct_ops on pasemi

More late-caught fallout from the mainline merge.  Commit
35e4a6e2

 ("[POWERPC] Use
archdata.dma_data in dma_direct_ops and add the offset") claimed

  "Now that all platforms using dma_direct_offset setup the
   archdata.dma_data correctly, ..."

..but nope -- the pasemi iommu setup code that disables translation on
the DMA pci device didn't set dma_data correctly.

This fixes it.

Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8af03e78
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