]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Revert fdb8345c and replace it with the correct fix for vio dma mask setting
authorLi Zhong <zhong@linux.vnet.ibm.com>
Thu, 28 Nov 2013 09:22:25 +0000 (17:22 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 7 Mar 2014 04:50:12 +0000 (15:50 +1100)
commit533d6e5ca392a2623e77220be03f0cccdb0984c1
treec171ccf1dc24d11fe203ad2084e48476558580bc
parent3f71cb52d4a1242e7f1a72de4028f58d944df269
powerpc: Revert fdb8345c and replace it with the correct fix for vio dma mask setting

This patch reverts my previous "fix", and replace it with the correct
fix from Russell.

And as Russell pointed out -- dma_set_mask_and_coherent() (and the other
dma_set_mask() functions) are really supposed to be used by drivers
only.

Signed-off-by: Li Zhong <zhong@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/vio.c