[xen staging] x86: add missing "inline" keyword

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen staging] x86: add missing "inline" keyword

patchbot
commit 6cf17a267a424fe62676993d429c2cf61311e0f2
Author:     Wei Liu <[hidden email]>
AuthorDate: Tue Aug 7 11:00:45 2018 +0100
Commit:     Wei Liu <[hidden email]>
CommitDate: Wed Aug 8 10:36:13 2018 +0100

    x86: add missing "inline" keyword
   
    Signed-off-by: Wei Liu <[hidden email]>
    Acked-by: Jan Beulich <[hidden email]>
---
 xen/include/asm-x86/pv/traps.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/include/asm-x86/pv/traps.h b/xen/include/asm-x86/pv/traps.h
index 7279d16ca0..89985d109e 100644
--- a/xen/include/asm-x86/pv/traps.h
+++ b/xen/include/asm-x86/pv/traps.h
@@ -47,7 +47,7 @@ static inline bool pv_trap_callback_registered(const struct vcpu *v,
 static inline void pv_trap_init(void) {}
 
 /* Deliver interrupt to PV guest. Return 0 on success. */
-static int pv_raise_interrupt(struct vcpu *v, uint8_t vector) { return -EOPNOTSUPP; }
+static inline int pv_raise_interrupt(struct vcpu *v, uint8_t vector) { return -EOPNOTSUPP; }
 
 static inline int pv_emulate_privileged_op(struct cpu_user_regs *regs) { return 0; }
 static inline void pv_emulate_gate_op(struct cpu_user_regs *regs) {}
--
generated by git-patchbot for /home/xen/git/xen.git#staging

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog