summaryrefslogtreecommitdiffstats
path: root/include/linux/livepatch.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2019-05-07 11:56:04 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2019-05-07 11:56:04 -0400
commit573de2a6e844cb230c4483833f29b8344a6a17cc (patch)
tree98dd321fc5b6dd9f4b6bf1bcaa6cb6f4a663301f /include/linux/livepatch.h
parentb4dd05dee0dbd16afdbba83b698a7110c687be2d (diff)
parent1efbd99ed41db9ddc3ae7e189934c62e9dbe55c4 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching
Pull livepatching updates from Jiri Kosina: - livepatching kselftests improvements from Joe Lawrence and Miroslav Benes - making use of gcc's -flive-patching option when available, from Miroslav Benes - kobject handling cleanups, from Petr Mladek * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching: livepatch: Remove duplicated code for early initialization livepatch: Remove custom kobject state handling livepatch: Convert error about unsupported reliable stacktrace into a warning selftests/livepatch: Add functions.sh to TEST_PROGS_EXTENDED kbuild: use -flive-patching when CONFIG_LIVEPATCH is enabled selftests/livepatch: use TEST_PROGS for test scripts
Diffstat (limited to 'include/linux/livepatch.h')
-rw-r--r--include/linux/livepatch.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/livepatch.h b/include/linux/livepatch.h
index 53551f470722..a14bab1a0a3e 100644
--- a/include/linux/livepatch.h
+++ b/include/linux/livepatch.h
@@ -86,7 +86,6 @@ struct klp_func {
86 struct list_head node; 86 struct list_head node;
87 struct list_head stack_node; 87 struct list_head stack_node;
88 unsigned long old_size, new_size; 88 unsigned long old_size, new_size;
89 bool kobj_added;
90 bool nop; 89 bool nop;
91 bool patched; 90 bool patched;
92 bool transition; 91 bool transition;
@@ -141,7 +140,6 @@ struct klp_object {
141 struct list_head func_list; 140 struct list_head func_list;
142 struct list_head node; 141 struct list_head node;
143 struct module *mod; 142 struct module *mod;
144 bool kobj_added;
145 bool dynamic; 143 bool dynamic;
146 bool patched; 144 bool patched;
147}; 145};
@@ -170,7 +168,6 @@ struct klp_patch {
170 struct list_head list; 168 struct list_head list;
171 struct kobject kobj; 169 struct kobject kobj;
172 struct list_head obj_list; 170 struct list_head obj_list;
173 bool kobj_added;
174 bool enabled; 171 bool enabled;
175 bool forced; 172 bool forced;
176 struct work_struct free_work; 173 struct work_struct free_work;