aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorGuo Ren <[email protected]>2022-04-07 15:33:22 +0800
committerMax Filippov <[email protected]>2022-04-13 03:36:34 -0700
commitee69d4be8fd064cd08270b4808d2dfece3614ee0 (patch)
tree506e8f5440bcba2b968f6f44737e13c96ea4b7d3 /lib/netdev-notifier-error-inject.c
parentce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e (diff)
xtensa: patch_text: Fixup last cpu should be master
These patch_text implementations are using stop_machine_cpuslocked infrastructure with atomic cpu_count. The original idea: When the master CPU patch_text, the others should wait for it. But current implementation is using the first CPU as master, which couldn't guarantee the remaining CPUs are waiting. This patch changes the last CPU as the master to solve the potential risk. Fixes: 64711f9a47d4 ("xtensa: implement jump_label support") Signed-off-by: Guo Ren <[email protected]> Signed-off-by: Guo Ren <[email protected]> Reviewed-by: Max Filippov <[email protected]> Reviewed-by: Masami Hiramatsu <[email protected]> Cc: <[email protected]> Message-Id: <[email protected]> Signed-off-by: Max Filippov <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions