diff options
author | Nam Cao <namcao@linutronix.de> | 2025-02-05 13:55:15 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-02-18 19:41:35 +0300 |
commit | 86a578e780a9fb0e1a1b6f3f3aa847c29b5255b9 (patch) | |
tree | a153b29f9d04b292c8fd4fd5fe572fc13b0826e0 /tools/perf/scripts/python/parallel-perf.py | |
parent | 3f8d93d1371f460ed30ebfa30fb930c0605035fc (diff) | |
download | linux-86a578e780a9fb0e1a1b6f3f3aa847c29b5255b9.tar.xz |
wifi: rt2x00: Switch to use hrtimer_update_function()
The field 'function' of struct hrtimer should not be changed directly, as
the write is lockless and a concurrent timer expiry might end up using the
wrong function pointer.
Switch to use hrtimer_update_function() which also performs runtime checks
that it is safe to modify the callback.
Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/82dcc0eae40bb84e6452f242751c0650e79bd87e.1738746927.git.namcao@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions