]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/livepatch.h
Merge tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[karo-tx-linux.git] / include / linux / livepatch.h
index b60e8abab0ab5b2137fd34e6f9cc60f9e90a924a..a8828652f79428dfb888121489e457fe5c13bd5b 100644 (file)
@@ -67,8 +67,7 @@ struct klp_func {
 /**
  * struct klp_reloc - relocation structure for live patching
  * @loc:       address where the relocation will be written
- * @val:       address of the referenced symbol (optional,
- *             vmlinux patches only)
+ * @sympos:    position in kallsyms to disambiguate symbols (optional)
  * @type:      ELF relocation type
  * @name:      name of the referenced symbol (for lookup/verification)
  * @addend:    offset from the referenced symbol
@@ -76,7 +75,7 @@ struct klp_func {
  */
 struct klp_reloc {
        unsigned long loc;
-       unsigned long val;
+       unsigned long sympos;
        unsigned long type;
        const char *name;
        int addend;