浏览代码

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

This reverts commit fa448d6008cc81a3537e5db168fa0490e0caba68.
Robert Richter 16 年之前
父节点
当前提交
22cffe494b
共有 1 个文件被更改,包括 1 次插入1 次删除
  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