summaryrefslogtreecommitdiff
path: root/kernel/debug
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linaro.org>2017-01-09 12:01:35 +0800
committerAlex Shi <alex.shi@linaro.org>2017-01-09 12:01:35 +0800
commit19192a140ad72b5bd0d57620bfe236bc03561bb6 (patch)
treedc8289d075edcb1c23add72c425494a1e05e6f86 /kernel/debug
parent282b308ad3b60ef0a55ff8b1ef6f16dadcede935 (diff)
parenteaa88578f2135fa8548d5f127259904a1b3f44c0 (diff)
Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android
Diffstat (limited to 'kernel/debug')
-rw-r--r--kernel/debug/debug_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/debug/debug_core.c b/kernel/debug/debug_core.c
index 0874e2edd275..79517e5549f1 100644
--- a/kernel/debug/debug_core.c
+++ b/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");