testbench: take the global data off the stack.

Testbench prm is global data used by many thread. Take it off the stack.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
Liam Girdwood 2022-02-04 17:08:15 +00:00 committed by Liam Girdwood
parent 480d1ad168
commit 6f43299f3b
1 changed files with 2 additions and 1 deletions

View File

@ -726,9 +726,10 @@ static void *pipline_test(void *data)
return NULL; return NULL;
} }
static struct testbench_prm tp;
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
struct testbench_prm tp;
struct pipeline_thread_data ptdata[CONFIG_CORE_COUNT]; struct pipeline_thread_data ptdata[CONFIG_CORE_COUNT];
int i, err; int i, err;