From cc269e3f957f69b84a5d37c786e60ac1cf55917a Mon Sep 17 00:00:00 2001 From: Clayton Hobbs Date: Thu, 10 Jan 2019 00:28:07 -0500 Subject: Don't call TRACE before the device is initialized --- litmus/sched_edfsc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/litmus/sched_edfsc.c b/litmus/sched_edfsc.c index 4e931643980a..b8e1be14707b 100644 --- a/litmus/sched_edfsc.c +++ b/litmus/sched_edfsc.c @@ -38,8 +38,7 @@ static int __init init_edfsc(void){ int cpu; cpu_entry_t *entry; - for_each_online_cpu(cpu) { - TRACE("Initializing CPU%d...\n", cpu); + for (cpu = 0; cpu < num_online_cpus(); cpu++) { entry = &per_cpu(edfsc_cpu_state, cpu); entry->cpu = cpu; entry->scheduled = NULL; -- cgit v1.2.2