summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/iommu.c
diff options
context:
space:
mode:
authorFUJITA Tomonori2010-03-16 14:16:25 +0100
committerBenjamin Herrenschmidt2010-03-19 06:38:16 +0100
commita93272969c6b1d59883fcbb04845420bd72c9a20 (patch)
tree16b980ded87e94ac4eee7375eaf38605fb69a211 /arch/powerpc/kernel/iommu.c
parentpowerpc: Do not call prink when CONFIG_PRINTK is not defined (diff)
downloadkernel-qcow2-linux-a93272969c6b1d59883fcbb04845420bd72c9a20.tar.gz
kernel-qcow2-linux-a93272969c6b1d59883fcbb04845420bd72c9a20.tar.xz
kernel-qcow2-linux-a93272969c6b1d59883fcbb04845420bd72c9a20.zip
powerpc: Fix swiotlb to respect the boot option
powerpc initializes swiotlb before parsing the kernel boot options so swiotlb options (e.g. specifying the swiotlb buffer size) are ignored. Any time before freeing bootmem works for swiotlb so this patch moves powerpc's swiotlb initialization after parsing the kernel boot options, mem_init (as x86 does). Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Tested-by: Becky Bruce <beckyb@kernel.crashing.org> Tested-by: Albert Herranz <albert_herranz@yahoo.es> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/iommu.c')
0 files changed, 0 insertions, 0 deletions