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)
commit8cdd043ab32c2ff28d2a77c514a768a9edce244c
tree532e856e533309a4b22f22adadc31c5e45672252
parentcad706df7e4a00a595f2662f32c0fc174aa4e61f
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