Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Nov 2003 11:30:17 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Brian Feldman <green@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   RE: cvs commit: src/sys/conf kern.post.mk kmod.mk
Message-ID:  <XFMail.20031114113017.jhb@FreeBSD.org>
In-Reply-To: <200311141604.hAEG4BCg041862@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 14-Nov-2003 Brian Feldman wrote:
> green       2003/11/14 08:04:11 PST
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/conf             kern.post.mk kmod.mk 
>   Log:
>   Include opt_global.h in the modules build, when building from a normal
>   kernel build.  This makes it possible for me not to get pissed off that
>   random.ko crashes the system trying to rdtsc() when the i386/cpu.h
>   support code decides it's okay to call that op when neither I386_CPU or
>   I486_CPU is defined.  I guess it also makes WITNESS/INVARIANTS defines
>   get picked up by the modules.

WITNESS doesn't matter as all calls to it are done in the actual locking
code itself which does not lives in modules.  Modules always call the
locking functions and don't inline locking operations.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20031114113017.jhb>