From fa15abd8a6710a4c8f0cd12eb592be09d5a20559 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Tue, 1 Oct 2002 13:15:11 +0000 Subject: [PATCH] Don't #error if we are lint. --- sys/kern/subr_prof.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/kern/subr_prof.c b/sys/kern/subr_prof.c index 725a44c8315..479d95339d0 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