diff options
Diffstat (limited to 'kernel/kernel/debug/debug_core.c')
-rw-r--r-- | kernel/kernel/debug/debug_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/kernel/debug/debug_core.c b/kernel/kernel/debug/debug_core.c index 0874e2edd..79517e554 100644 --- a/kernel/kernel/debug/debug_core.c +++ b/kernel/kernel/debug/debug_core.c @@ -598,11 +598,11 @@ return_normal: /* * Wait for the other CPUs to be notified and be waiting for us: */ - time_left = loops_per_jiffy * HZ; + time_left = MSEC_PER_SEC; while (kgdb_do_roundup && --time_left && (atomic_read(&masters_in_kgdb) + atomic_read(&slaves_in_kgdb)) != online_cpus) - cpu_relax(); + udelay(1000); if (!time_left) pr_crit("Timed out waiting for secondary CPUs.\n"); |