linux_dsm_epyc7002/kernel/livepatch
Petr Mladek ecba29f434 livepatch: Introduce klp_for_each_patch macro
There are already macros to iterate over struct klp_func and klp_object.

Add also klp_for_each_patch(). But make it internal because also
klp_patches list is internal.

Suggested-by: Josh Poimboeuf <jpoimboe@redhat.com>
Acked-by: Miroslav Benes <mbenes@suse.cz>
Acked-by: Joe Lawrence <joe.lawrence@redhat.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
2019-02-06 10:49:30 +01:00
..
core.c livepatch: Introduce klp_for_each_patch macro 2019-02-06 10:49:30 +01:00
core.h livepatch: Introduce klp_for_each_patch macro 2019-02-06 10:49:30 +01:00
Kconfig livepatch: Make livepatch dependent on !TRIM_UNUSED_KSYMS 2017-05-27 00:27:37 +02:00
Makefile livepatch: introduce shadow variable API 2017-09-14 23:06:12 +02:00
patch.c livepatch: Remove Nop structures when unused 2019-01-11 20:51:24 +01:00
patch.h livepatch: Remove Nop structures when unused 2019-01-11 20:51:24 +01:00
shadow.c livepatch: Allow to call a custom callback when freeing shadow variables 2018-04-17 13:42:48 +02:00
transition.c livepatch: Introduce klp_for_each_patch macro 2019-02-06 10:49:30 +01:00
transition.h livepatch: force transition to finish 2017-12-07 13:21:35 +01:00