powerpc/pseries: iommu cleanup
authorNishanth Aravamudan <nacc@us.ibm.com>
Mon, 18 Oct 2010 07:27:03 +0000 (07:27 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 29 Nov 2010 04:48:21 +0000 (15:48 +1100)
commita8daac8a517dacfea951424f67c1f07e1f76b2ad
tree32dff1b065dda352cbf3078ba31be685da87166a
parent34c4d012554ed8c99b3fb25baea9bab3507e9f76
powerpc/pseries: iommu cleanup

No need to initialize per-cpu pointer to NULL, it is the default.

Direct dma ops and no setup are the defaults, no need to set for
iommu-off.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Reviewed-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/iommu.c