* cpu_features.c: replace gcc-specific construct with portable alternative
        and match the code a few lines above.
        * crt1.c: remove gcc-specific noreturn attribute with mingw alternative
This commit is contained in:
Chris Sutcliffe
2009-07-18 15:05:20 +00:00
parent f9a5b8ea6a
commit ab4b248152
3 changed files with 8 additions and 2 deletions

View File

@@ -19,7 +19,7 @@
#define EDX_LM (1 << 29) /*LONG MODE */
#define __cpuid(level,a,b,c,d) \
__asm__ __volatile__ ("cpuid;" \
asm volatile ("cpuid;" \
: "=a" (a), "=b" (b), "=c" (c), "=d" (d)\
: "0" (level))