diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/pseries/setup.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c index b5996a7060f4..149751a3742a 100644 --- a/arch/powerpc/platforms/pseries/setup.c +++ b/arch/powerpc/platforms/pseries/setup.c | |||
@@ -320,19 +320,14 @@ static int pseries_set_xdabr(unsigned long dabr) | |||
320 | */ | 320 | */ |
321 | static void __init pSeries_init_early(void) | 321 | static void __init pSeries_init_early(void) |
322 | { | 322 | { |
323 | int iommu_off = 0; | ||
324 | |||
325 | DBG(" -> pSeries_init_early()\n"); | 323 | DBG(" -> pSeries_init_early()\n"); |
326 | 324 | ||
327 | fw_feature_init(); | 325 | fw_feature_init(); |
328 | 326 | ||
329 | if (platform_is_lpar()) | 327 | if (platform_is_lpar()) |
330 | hpte_init_lpar(); | 328 | hpte_init_lpar(); |
331 | else { | 329 | else |
332 | hpte_init_native(); | 330 | hpte_init_native(); |
333 | iommu_off = (of_chosen && | ||
334 | get_property(of_chosen, "linux,iommu-off", NULL)); | ||
335 | } | ||
336 | 331 | ||
337 | if (platform_is_lpar()) | 332 | if (platform_is_lpar()) |
338 | find_udbg_vterm(); | 333 | find_udbg_vterm(); |