Browse Source

Revert "Cell OProfile: Incorrect local array size in activate spu profiling function"

This reverts commit fa448d6008cc81a3537e5db168fa0490e0caba68.
Robert Richter 16 years ago
parent
commit
22cffe494b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/powerpc/oprofile/op_model_cell.c

+ 1 - 1
arch/powerpc/oprofile/op_model_cell.c

@@ -830,7 +830,7 @@ static int calculate_lfsr(int n)
 static int pm_rtas_activate_spu_profiling(u32 node)
 {
 	int ret, i;
-	struct pm_signal pm_signal_local[NUM_SPUS_PER_NODE];
+	struct pm_signal pm_signal_local[NR_PHYS_CTRS];
 
 	/*
 	 * Set up the rtas call to configure the debug bus to