Change __inline style to be consistent with FreeBSD usage,
and also fix gcc build (on STABLE, when MFCd). PR: 192880 Reviewed by: neel Reported by: ngie MFC after: 1 day
This commit is contained in:
parent
8bd3845d3c
commit
7f21538b6e
@ -587,25 +587,25 @@ struct vm_exit {
|
||||
void vm_inject_fault(void *vm, int vcpuid, int vector, int errcode_valid,
|
||||
int errcode);
|
||||
|
||||
static void __inline
|
||||
static __inline void
|
||||
vm_inject_ud(void *vm, int vcpuid)
|
||||
{
|
||||
vm_inject_fault(vm, vcpuid, IDT_UD, 0, 0);
|
||||
}
|
||||
|
||||
static void __inline
|
||||
static __inline void
|
||||
vm_inject_gp(void *vm, int vcpuid)
|
||||
{
|
||||
vm_inject_fault(vm, vcpuid, IDT_GP, 1, 0);
|
||||
}
|
||||
|
||||
static void __inline
|
||||
static __inline void
|
||||
vm_inject_ac(void *vm, int vcpuid, int errcode)
|
||||
{
|
||||
vm_inject_fault(vm, vcpuid, IDT_AC, 1, errcode);
|
||||
}
|
||||
|
||||
static void __inline
|
||||
static __inline void
|
||||
vm_inject_ss(void *vm, int vcpuid, int errcode)
|
||||
{
|
||||
vm_inject_fault(vm, vcpuid, IDT_SS, 1, errcode);
|
||||
|
Loading…
Reference in New Issue
Block a user