This reverts commit fa448d6008cc81a3537e5db168fa0490e0caba68.
@@ -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