summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2019-10-14 15:07:43 +0800
committerBjorn Andersson <bjorn.andersson@linaro.org>2019-11-08 16:41:13 -0800
commitb2547dce4d4a23e8c4a2b0258e3bd31d43dddfad (patch)
tree4aeefb6280bd4d08b1a15ce0b47de1b1f5ac4222 /tools/perf/scripts/python
parentb674a30bf8b0edf3b966e32dfcb2e00dfca5a823 (diff)
hwspinlock: Remove BUG_ON() from the hwspinlock core
The original code use BUG_ON() to validate the parameters when locking or unlocking one hardware lock, but we should not crash the whole kernel though the hwlock parameters are incorrect, instead we can return the error number for users and give some warning. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions