aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/livepatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/livepatch.h')
-rw-r--r--include/linux/livepatch.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/livepatch.h b/include/linux/livepatch.h
index b60e8abab0ab..a8828652f794 100644
--- a/include/linux/livepatch.h
+++ b/include/linux/livepatch.h
@@ -67,8 +67,7 @@ struct klp_func {
67/** 67/**
68 * struct klp_reloc - relocation structure for live patching 68 * struct klp_reloc - relocation structure for live patching
69 * @loc: address where the relocation will be written 69 * @loc: address where the relocation will be written
70 * @val: address of the referenced symbol (optional, 70 * @sympos: position in kallsyms to disambiguate symbols (optional)
71 * vmlinux patches only)
72 * @type: ELF relocation type 71 * @type: ELF relocation type
73 * @name: name of the referenced symbol (for lookup/verification) 72 * @name: name of the referenced symbol (for lookup/verification)
74 * @addend: offset from the referenced symbol 73 * @addend: offset from the referenced symbol
@@ -76,7 +75,7 @@ struct klp_func {
76 */ 75 */
77struct klp_reloc { 76struct klp_reloc {
78 unsigned long loc; 77 unsigned long loc;
79 unsigned long val; 78 unsigned long sympos;
80 unsigned long type; 79 unsigned long type;
81 const char *name; 80 const char *name;
82 int addend; 81 int addend;