diff options
Diffstat (limited to 'kernel/livepatch/core.h')
-rw-r--r-- | kernel/livepatch/core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/livepatch/core.h b/kernel/livepatch/core.h index d0cb5390e247..d4eefc520c08 100644 --- a/kernel/livepatch/core.h +++ b/kernel/livepatch/core.h | |||
@@ -7,6 +7,8 @@ | |||
7 | extern struct mutex klp_mutex; | 7 | extern struct mutex klp_mutex; |
8 | extern struct list_head klp_patches; | 8 | extern struct list_head klp_patches; |
9 | 9 | ||
10 | void klp_free_patch_start(struct klp_patch *patch); | ||
11 | |||
10 | static inline bool klp_is_object_loaded(struct klp_object *obj) | 12 | static inline bool klp_is_object_loaded(struct klp_object *obj) |
11 | { | 13 | { |
12 | return !obj->name || obj->mod; | 14 | return !obj->name || obj->mod; |