aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/livepatch/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/livepatch/core.h')
-rw-r--r--kernel/livepatch/core.h2
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 @@
7extern struct mutex klp_mutex; 7extern struct mutex klp_mutex;
8extern struct list_head klp_patches; 8extern struct list_head klp_patches;
9 9
10void klp_free_patch_start(struct klp_patch *patch);
11
10static inline bool klp_is_object_loaded(struct klp_object *obj) 12static inline bool klp_is_object_loaded(struct klp_object *obj)
11{ 13{
12 return !obj->name || obj->mod; 14 return !obj->name || obj->mod;