summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_prof.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-01 13:15:11 +0000
committerphk <phk@FreeBSD.org>2002-10-01 13:15:11 +0000
commit5354d80714c96fedab2c10f22b72457bb643d70f (patch)
tree16b6223ca627ef17fde2f080dcbfb46a4f1a5509 /sys/kern/subr_prof.c
parenta7fdee892c88f9829bdc62d7e1cb31e5654ebb40 (diff)
downloadFreeBSD-src-5354d80714c96fedab2c10f22b72457bb643d70f.zip
FreeBSD-src-5354d80714c96fedab2c10f22b72457bb643d70f.tar.gz
Don't #error if we are lint.
Diffstat (limited to 'sys/kern/subr_prof.c')
-rw-r--r--sys/kern/subr_prof.c2
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
OpenPOWER on IntegriCloud