diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2015-06-04 21:22:29 +0300 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2015-07-06 03:35:18 +0300 |
commit | 2f575fcff1fad24e97b8e7d793ad9af9ae5b8a17 (patch) | |
tree | 91031e9ce6025f12d31b0e180f8d79283e5be9c3 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 6fd2242e60e89a26e731e57dbf8f88d6639e09de (diff) | |
download | linux-2f575fcff1fad24e97b8e7d793ad9af9ae5b8a17.tar.xz |
ARM: shmobile: R-Car: Break infinite loop
rcar_sysc_update() loops (with interrupts disabled and while holding a
spinlock) until submitting a power shutoff or resume request fails, or
until the submitted request was accepted.
If none of these conditions becomes true, this forms an infinite loop.
Put a limit on the maximum number of loop iterations, and add a small
delay to each iteration, to fix this.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions