aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pseries
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-08-08 03:09:11 -0400
committerPaul Mackerras <paulus@samba.org>2006-08-08 03:09:11 -0400
commit32bc6e095d75233e7c87cc6fa0e07942b124d194 (patch)
tree8f83ef9a23d52d1305878b65dd98fc22b09b7f3e /arch/powerpc/platforms/pseries
parent5cf13911b1e72707b6f0eb39b2d819ec6e343d76 (diff)
parent81b73dd92b97423b8f5324a59044da478c04f4c4 (diff)
Merge branch 'merge'
Diffstat (limited to 'arch/powerpc/platforms/pseries')
-rw-r--r--arch/powerpc/platforms/pseries/setup.c2
-rw-r--r--arch/powerpc/platforms/pseries/xics.c6
2 files changed, 3 insertions, 5 deletions
diff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c
index 6ebeecfd6bcb..1587efc51057 100644
--- a/arch/powerpc/platforms/pseries/setup.c
+++ b/arch/powerpc/platforms/pseries/setup.c
@@ -213,8 +213,6 @@ static void pseries_lpar_enable_pmcs(void)
213{ 213{
214 unsigned long set, reset; 214 unsigned long set, reset;
215 215
216 power4_enable_pmcs();
217
218 set = 1UL << 63; 216 set = 1UL << 63;
219 reset = 0; 217 reset = 0;
220 plpar_hcall_norets(H_PERFMON, set, reset); 218 plpar_hcall_norets(H_PERFMON, set, reset);
diff --git a/arch/powerpc/platforms/pseries/xics.c b/arch/powerpc/platforms/pseries/xics.c
index c88ec63129f3..253972e5479f 100644
--- a/arch/powerpc/platforms/pseries/xics.c
+++ b/arch/powerpc/platforms/pseries/xics.c
@@ -447,7 +447,7 @@ void xics_setup_cpu(void)
447 * 447 *
448 * XXX: undo of teardown on kexec needs this too, as may hotplug 448 * XXX: undo of teardown on kexec needs this too, as may hotplug
449 */ 449 */
450 rtas_set_indicator(GLOBAL_INTERRUPT_QUEUE, 450 rtas_set_indicator_fast(GLOBAL_INTERRUPT_QUEUE,
451 (1UL << interrupt_server_size) - 1 - default_distrib_server, 1); 451 (1UL << interrupt_server_size) - 1 - default_distrib_server, 1);
452} 452}
453 453
@@ -776,7 +776,7 @@ void xics_teardown_cpu(int secondary)
776 * so leave the master cpu in the group. 776 * so leave the master cpu in the group.
777 */ 777 */
778 if (secondary) 778 if (secondary)
779 rtas_set_indicator(GLOBAL_INTERRUPT_QUEUE, 779 rtas_set_indicator_fast(GLOBAL_INTERRUPT_QUEUE,
780 (1UL << interrupt_server_size) - 1 - 780 (1UL << interrupt_server_size) - 1 -
781 default_distrib_server, 0); 781 default_distrib_server, 0);
782} 782}
@@ -793,7 +793,7 @@ void xics_migrate_irqs_away(void)
793 xics_set_cpu_priority(cpu, 0); 793 xics_set_cpu_priority(cpu, 0);
794 794
795 /* remove ourselves from the global interrupt queue */ 795 /* remove ourselves from the global interrupt queue */
796 status = rtas_set_indicator(GLOBAL_INTERRUPT_QUEUE, 796 status = rtas_set_indicator_fast(GLOBAL_INTERRUPT_QUEUE,
797 (1UL << interrupt_server_size) - 1 - default_distrib_server, 0); 797 (1UL << interrupt_server_size) - 1 - default_distrib_server, 0);
798 WARN_ON(status < 0); 798 WARN_ON(status < 0);
799 799