Merge tag 'livepatching-for-6.11-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching

Pull livepatching fix from Petr Mladek:
"Selftest regression fix"

* tag 'livepatching-for-6.11-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching:
selftests/livepatch: wait for atomic replace to occur

+2 -5
+2 -5
tools/testing/selftests/livepatch/test-livepatch.sh
··· 139 grep 'live patched' /proc/cmdline > /dev/kmsg 140 grep 'live patched' /proc/meminfo > /dev/kmsg 141 142 - mods=(/sys/kernel/livepatch/*) 143 - nmods=${#mods[@]} 144 - if [ "$nmods" -ne 1 ]; then 145 - die "Expecting only one moduled listed, found $nmods" 146 - fi 147 148 # These modules were disabled by the atomic replace 149 for mod in $MOD_LIVEPATCH3 $MOD_LIVEPATCH2 $MOD_LIVEPATCH1; do
··· 139 grep 'live patched' /proc/cmdline > /dev/kmsg 140 grep 'live patched' /proc/meminfo > /dev/kmsg 141 142 + loop_until 'mods=(/sys/kernel/livepatch/*); nmods=${#mods[@]}; [[ "$nmods" -eq 1 ]]' || 143 + die "Expecting only one moduled listed, found $nmods" 144 145 # These modules were disabled by the atomic replace 146 for mod in $MOD_LIVEPATCH3 $MOD_LIVEPATCH2 $MOD_LIVEPATCH1; do