diff options
author | phk <phk@FreeBSD.org> | 2002-10-20 17:30:30 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-20 17:30:30 +0000 |
commit | 94a704dc5b278d6d5b421f4e1f0a4f234abc0120 (patch) | |
tree | 29e5cbd87966b7a4a679bd6a912d055f7b94c1b6 | |
parent | 1e22f4e40db259ccc6972591b43db276eba12471 (diff) | |
download | FreeBSD-src-94a704dc5b278d6d5b421f4e1f0a4f234abc0120.zip FreeBSD-src-94a704dc5b278d6d5b421f4e1f0a4f234abc0120.tar.gz |
Hide inline assembly if lint is defined.
-rw-r--r-- | sys/amd64/amd64/fpu.c | 2 | ||||
-rw-r--r-- | sys/amd64/isa/npx.c | 2 | ||||
-rw-r--r-- | sys/i386/isa/npx.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/amd64/fpu.c b/sys/amd64/amd64/fpu.c index bbb7253..eeb71f9 100644 --- a/sys/amd64/amd64/fpu.c +++ b/sys/amd64/amd64/fpu.c @@ -106,7 +106,7 @@ #define NPX_DISABLE_I586_OPTIMIZED_COPYIO (1 << 2) #define NPX_PREFER_EMULATOR (1 << 3) -#ifdef __GNUC__ +#if defined(__GNUC__) && !defined(lint) #define fldcw(addr) __asm("fldcw %0" : : "m" (*(addr))) #define fnclex() __asm("fnclex") diff --git a/sys/amd64/isa/npx.c b/sys/amd64/isa/npx.c index bbb7253..eeb71f9 100644 --- a/sys/amd64/isa/npx.c +++ b/sys/amd64/isa/npx.c @@ -106,7 +106,7 @@ #define NPX_DISABLE_I586_OPTIMIZED_COPYIO (1 << 2) #define NPX_PREFER_EMULATOR (1 << 3) -#ifdef __GNUC__ +#if defined(__GNUC__) && !defined(lint) #define fldcw(addr) __asm("fldcw %0" : : "m" (*(addr))) #define fnclex() __asm("fnclex") diff --git a/sys/i386/isa/npx.c b/sys/i386/isa/npx.c index bbb7253..eeb71f9 100644 --- a/sys/i386/isa/npx.c +++ b/sys/i386/isa/npx.c @@ -106,7 +106,7 @@ #define NPX_DISABLE_I586_OPTIMIZED_COPYIO (1 << 2) #define NPX_PREFER_EMULATOR (1 << 3) -#ifdef __GNUC__ +#if defined(__GNUC__) && !defined(lint) #define fldcw(addr) __asm("fldcw %0" : : "m" (*(addr))) #define fnclex() __asm("fnclex") |