diff options
Diffstat (limited to 'include/linux/livepatch.h')
-rw-r--r-- | include/linux/livepatch.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/livepatch.h b/include/linux/livepatch.h index fc5c1be3f6f4..4754f01c1abb 100644 --- a/include/linux/livepatch.h +++ b/include/linux/livepatch.h | |||
@@ -40,7 +40,6 @@ | |||
40 | * @new_func: pointer to the patched function code | 40 | * @new_func: pointer to the patched function code |
41 | * @old_sympos: a hint indicating which symbol position the old function | 41 | * @old_sympos: a hint indicating which symbol position the old function |
42 | * can be found (optional) | 42 | * can be found (optional) |
43 | * @immediate: patch the func immediately, bypassing safety mechanisms | ||
44 | * @old_addr: the address of the function being patched | 43 | * @old_addr: the address of the function being patched |
45 | * @kobj: kobject for sysfs resources | 44 | * @kobj: kobject for sysfs resources |
46 | * @stack_node: list node for klp_ops func_stack list | 45 | * @stack_node: list node for klp_ops func_stack list |
@@ -76,7 +75,6 @@ struct klp_func { | |||
76 | * in kallsyms for the given object is used. | 75 | * in kallsyms for the given object is used. |
77 | */ | 76 | */ |
78 | unsigned long old_sympos; | 77 | unsigned long old_sympos; |
79 | bool immediate; | ||
80 | 78 | ||
81 | /* internal */ | 79 | /* internal */ |
82 | unsigned long old_addr; | 80 | unsigned long old_addr; |
@@ -137,7 +135,6 @@ struct klp_object { | |||
137 | * struct klp_patch - patch structure for live patching | 135 | * struct klp_patch - patch structure for live patching |
138 | * @mod: reference to the live patch module | 136 | * @mod: reference to the live patch module |
139 | * @objs: object entries for kernel objects to be patched | 137 | * @objs: object entries for kernel objects to be patched |
140 | * @immediate: patch all funcs immediately, bypassing safety mechanisms | ||
141 | * @list: list node for global list of registered patches | 138 | * @list: list node for global list of registered patches |
142 | * @kobj: kobject for sysfs resources | 139 | * @kobj: kobject for sysfs resources |
143 | * @enabled: the patch is enabled (but operation may be incomplete) | 140 | * @enabled: the patch is enabled (but operation may be incomplete) |
@@ -147,7 +144,6 @@ struct klp_patch { | |||
147 | /* external */ | 144 | /* external */ |
148 | struct module *mod; | 145 | struct module *mod; |
149 | struct klp_object *objs; | 146 | struct klp_object *objs; |
150 | bool immediate; | ||
151 | 147 | ||
152 | /* internal */ | 148 | /* internal */ |
153 | struct list_head list; | 149 | struct list_head list; |