From ce8eb6ca444565ce95cf2d7574f6abc88b49c839 Mon Sep 17 00:00:00 2001 From: Carl Love Date: Fri, 24 Oct 2008 11:47:29 -0700 Subject: [PATCH] --- yaml --- r: 118603 b: refs/heads/master c: fa448d6008cc81a3537e5db168fa0490e0caba68 h: refs/heads/master i: 118601: 2b009799c7ddab9b2f60e2ec62f62d9e4b590d28 118599: 38c149f3f3fa1bd06bccd369f767cbcff9003a70 v: v3 --- [refs] | 2 +- trunk/arch/powerpc/oprofile/op_model_cell.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 407170e72a5f..2d0b6d2f72b3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ba8b453de08c18cbc2453bcabfd0936c1d6695cb +refs/heads/master: fa448d6008cc81a3537e5db168fa0490e0caba68 diff --git a/trunk/arch/powerpc/oprofile/op_model_cell.c b/trunk/arch/powerpc/oprofile/op_model_cell.c index 35141a8bc3d9..6b2d974880b6 100644 --- a/trunk/arch/powerpc/oprofile/op_model_cell.c +++ b/trunk/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[NR_PHYS_CTRS]; + struct pm_signal pm_signal_local[NUM_SPUS_PER_NODE]; /* * Set up the rtas call to configure the debug bus to