[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] x86: add missing "inline" keyword



commit 6cf17a267a424fe62676993d429c2cf61311e0f2
Author:     Wei Liu <wei.liu2@xxxxxxxxxx>
AuthorDate: Tue Aug 7 11:00:45 2018 +0100
Commit:     Wei Liu <wei.liu2@xxxxxxxxxx>
CommitDate: Wed Aug 8 10:36:13 2018 +0100

    x86: add missing "inline" keyword
    
    Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
    Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
---
 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#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.