diff options
author | Jiri Kosina <jkosina@suse.cz> | 2019-03-05 15:56:59 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2019-03-05 15:56:59 +0100 |
commit | f9d138145686b52b48ccb36557d6842076e2b9dd (patch) | |
tree | 95f5c8952a06616ddf4e7ed0288b82bfdb3aea72 /kernel/livepatch/transition.c | |
parent | 7185a96981a2f8bb523dd87cad20a6b96c721ad5 (diff) | |
parent | fbb76d579dff4a2e332566dcd1d5979ac92bc34b (diff) | |
download | linux-f9d138145686b52b48ccb36557d6842076e2b9dd.tar.bz2 |
Merge branch 'for-5.1/atomic-replace' into for-linus
The atomic replace allows to create cumulative patches. They are useful when
you maintain many livepatches and want to remove one that is lower on the
stack. In addition it is very useful when more patches touch the same function
and there are dependencies between them.
It's also a feature some of the distros are using already to distribute
their patches.
Diffstat (limited to 'kernel/livepatch/transition.c')
-rw-r--r-- | kernel/livepatch/transition.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/livepatch/transition.c b/kernel/livepatch/transition.c index 183b2086ba03..9c89ae8b337a 100644 --- a/kernel/livepatch/transition.c +++ b/kernel/livepatch/transition.c @@ -652,6 +652,6 @@ void klp_force_transition(void) for_each_possible_cpu(cpu) klp_update_patch_state(idle_task(cpu)); - list_for_each_entry(patch, &klp_patches, list) + klp_for_each_patch(patch) patch->forced = true; } |