|
@@ -558,7 +558,7 @@ trace_selftest_startup_nop(struct tracer *trace, struct trace_array *tr)
|
|
|
static int trace_wakeup_test_thread(void *data)
|
|
|
{
|
|
|
/* Make this a RT thread, doesn't need to be too high */
|
|
|
- static struct sched_param param = { .sched_priority = 5 };
|
|
|
+ static const struct sched_param param = { .sched_priority = 5 };
|
|
|
struct completion *x = data;
|
|
|
|
|
|
sched_setscheduler(current, SCHED_FIFO, ¶m);
|