Date: Wed, 27 Aug 2014 06:13:44 +0000 (UTC) From: Peter Grehan <grehan@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r270696 - stable/10/sys/amd64/include Message-ID: <201408270613.s7R6DiDS071771@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: grehan Date: Wed Aug 27 06:13:44 2014 New Revision: 270696 URL: http://svnweb.freebsd.org/changeset/base/270696 Log: MFC 270438 Change __inline style to be consistent with FreeBSD usage, and also fix gcc build. PR: 192880 Modified: stable/10/sys/amd64/include/vmm.h Modified: stable/10/sys/amd64/include/vmm.h ============================================================================== --- stable/10/sys/amd64/include/vmm.h Wed Aug 27 01:38:26 2014 (r270695) +++ stable/10/sys/amd64/include/vmm.h Wed Aug 27 06:13:44 2014 (r270696) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408270613.s7R6DiDS071771>