diff options
author | phk <phk@FreeBSD.org> | 2002-10-01 13:15:11 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-01 13:15:11 +0000 |
commit | 5354d80714c96fedab2c10f22b72457bb643d70f (patch) | |
tree | 16b6223ca627ef17fde2f080dcbfb46a4f1a5509 | |
parent | a7fdee892c88f9829bdc62d7e1cb31e5654ebb40 (diff) | |
download | FreeBSD-src-5354d80714c96fedab2c10f22b72457bb643d70f.zip FreeBSD-src-5354d80714c96fedab2c10f22b72457bb643d70f.tar.gz |
Don't #error if we are lint.
-rw-r--r-- | sys/kern/subr_prof.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/subr_prof.c b/sys/kern/subr_prof.c index 725a44c..479d953 100644 --- a/sys/kern/subr_prof.c +++ b/sys/kern/subr_prof.c @@ -228,6 +228,7 @@ kmstartup(dummy) : : "i" (profil) : "ax", "bx", "cx", "dx", "memory"); +#elif defined(lint) #else #error #endif @@ -239,6 +240,7 @@ kmstartup(dummy) __asm("call " __XSTRING(HIDENAME(mexitcount)) "; 1:" : : : "ax", "bx", "cx", "dx", "memory"); __asm("movl $1b,%0" : "=rm" (tmp_addr)); +#elif defined(lint) #else #error #endif |