]> git.baikalelectronics.ru Git - kernel.git/commit
livepatch: introduce patch/func-walking helpers
authorJiri Slaby <jslaby@suse.cz>
Tue, 19 May 2015 10:01:19 +0000 (12:01 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 19 May 2015 21:58:43 +0000 (23:58 +0200)
commit3ca28879fb0cc8077ae36acb8d77444669c29f0d
tree532e856e533309a4b22f22adadc31c5e45672252
parent853aa2627b0828283e89dbf716f9c27379a38645
livepatch: introduce patch/func-walking helpers

klp_for_each_object and klp_for_each_func are now used all over the
code. One need not think what is the proper condition to check in the
for loop now.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
include/linux/livepatch.h
kernel/livepatch/core.c