From: FUJITA Tomonori Date: Tue, 16 Mar 2010 13:16:25 +0000 (+0000) Subject: powerpc: Fix swiotlb to respect the boot option X-Git-Tag: v2.6.34-rc2~4^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a93272969c6b1d59883fcbb04845420bd72c9a20;p=pandora-kernel.git 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 Tested-by: Becky Bruce Tested-by: Albert Herranz Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed