diff options
author | Atish Patra <[email protected]> | 2019-02-22 11:41:35 -0800 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2019-03-04 10:40:36 -0800 |
commit | e15c6e37066e9ce6705f22b71e60ca2d78db8d45 (patch) | |
tree | a1fae221eda1cd98a3d61d6236980f9452640283 /scripts/gdb/linux/modules.py | |
parent | 79a47bad61bb340aed94e73b471616b246b2ecf3 (diff) |
RISC-V: Do not wait indefinitely in __cpu_up
In SMP path, __cpu_up waits for other CPU to come online indefinitely.
This is wrong as other CPU might be disabled in machine mode and
possible CPU is set to the cpus present in DT.
Introduce a completion variable and waits only for a second.
Signed-off-by: Atish Patra <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions