Author: delphij
Date: Mon Apr 27 05:42:14 2015
New Revision: 282050
URL: https://svnweb.freebsd.org/changeset/base/282050

Log:
  MFC r281502:
  
  Sync with OpenBSD: Use volatile instead of __volatile__.

Modified:
  stable/10/sys/contrib/x86emu/x86emu.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/contrib/x86emu/x86emu.c
==============================================================================
--- stable/10/sys/contrib/x86emu/x86emu.c       Mon Apr 27 01:36:16 2015        
(r282049)
+++ stable/10/sys/contrib/x86emu/x86emu.c       Mon Apr 27 05:42:14 2015        
(r282050)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: x86emu.c,v 1.5 2010/02/17 15:09:47 pirofti Exp $      */
+/*     $OpenBSD: x86emu.c,v 1.9 2014/06/15 11:04:49 pirofti Exp $      */
 /*     $NetBSD: x86emu.c,v 1.7 2009/02/03 19:26:29 joerg Exp $ */
 
 /*
@@ -5250,7 +5250,7 @@ x86emuOp2_pop_FS(struct x86emu *emu)
 static void
 hw_cpuid(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d)
 {
-       __asm__ __volatile__("cpuid"
+       __asm__ volatile("cpuid"
                             : "=a" (*a), "=b" (*b),
                               "=c" (*c), "=d" (*d)
                             : "a" (*a), "c" (*c)
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "[email protected]"

Reply via email to