Mark inline assembly in mono-hwcap-s390x.c volatile.
authorAlex Rønne Petersen <alexrp@xamarin.com>
Fri, 26 Jul 2013 12:26:11 +0000 (14:26 +0200)
committerAlex Rønne Petersen <alexrp@xamarin.com>
Fri, 26 Jul 2013 12:26:59 +0000 (14:26 +0200)
mono/utils/mono-hwcap-s390x.c

index c3251723e1fed077a2812325d04300966cf6c07a..889df8aebf6816896ef5592ed86f2b5ea8d5c768 100644 (file)
@@ -53,7 +53,7 @@ mono_hwcap_arch_init (void)
 
        sigaction (SIGILL, &sa, old_sa);
 
-       __asm__ (
+       __asm__ __volatile__ (
                "LGHI\t0,1\n\t"
                "LA\t1,%0\n\t"
                ".byte\t0xe3,0x00,0x10,0x00,0x00,0x50\n\t"