Subject: [PATCH 6/8] Avoid use of ppc64_interrupt_controller.

From: [email-masked]
Date: Mon, 29 May 2006 16:42:06 -0400

Checking the pSeries_mpic pointer will tell us if we have an MPIC
(and if not we assume XICS).

--
Signed-off-by: Michal Ostrowski <[email-masked]>

---

 arch/powerpc/platforms/pseries/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

b8d30cee0f0257489bb79c3d36f0afc39b8e63e6
diff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c
index 38bf976..4ff127b 100644
--- a/arch/powerpc/platforms/pseries/setup.c
+++ b/arch/powerpc/platforms/pseries/setup.c
@@ -536,7 +536,7 @@ static void pseries_kexec_cpu_down(int c
 		}
 	}
 
-	if (ppc64_interrupt_controller == IC_OPEN_PIC)
+	if (pSeries_mpic)
 		mpic_teardown_this_cpu(secondary);
 	else
 		xics_teardown_cpu(secondary);
-- 
1.1.4.g0b63-dirty