diff options
| author | Santosh Sivaraj <[email protected]> | 2017-07-04 09:52:46 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2017-07-24 21:17:55 +1000 |
| commit | 76d98ab4628bf8d36498e8228a5b92aa95a4b820 (patch) | |
| tree | c5a6301e74a238b7e2e926df23fa4e0a49f54b58 /tools/perf/scripts/python | |
| parent | 520eccdfe187591a51ea9ab4c1a024ae4d0f68d9 (diff) | |
powerpc/powernv: Get cpu only after validity check
Check for validity of cpu before calling get_hard_smp_processor_id().
Found with coverity.
Signed-off-by: Santosh Sivaraj <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions