Make LINT compile.
This commit is contained in:
parent
3045b21279
commit
c866ec47e3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65932
@ -15,7 +15,7 @@
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
||||
#if defined(SMP) && defined(I386_CPU)
|
||||
#if defined(SMP) && defined(I386_CPU) && !defined(COMPILING_LINT)
|
||||
#error SMP not supported with I386_CPU
|
||||
#endif
|
||||
#if defined(SMP) && !defined(APIC_IO)
|
||||
|
@ -7,9 +7,8 @@
|
||||
# compile) should be commented out; LINT should compile as much code
|
||||
# as possible. Try to structure option-using code so that a single
|
||||
# option only switch code on, or only switch code off, to make it
|
||||
# possible to have a full compile-test. If necessary, you can include
|
||||
# "opt_lint.h" and check for COMPILING_LINT to get maximum code
|
||||
# coverage.
|
||||
# possible to have a full compile-test. If necessary, you can check
|
||||
* for COMPILING_LINT to get maximum code coverage.
|
||||
#
|
||||
# All new options shall also be listed in either "conf/options" or
|
||||
# "<machine>/conf/options.<machine>". Options that affect a single
|
||||
@ -46,7 +45,7 @@ ADW_ALLOW_MEMIO opt_adw.h # Allow PCI devices to use memory
|
||||
# Miscellaneous options.
|
||||
COMPAT_43 opt_compat.h
|
||||
COMPAT_SUNOS opt_compat.h
|
||||
COMPILING_LINT opt_lint.h
|
||||
COMPILING_LINT opt_global.h
|
||||
CY_PCI_FASTINTR
|
||||
DDB
|
||||
DDB_UNATTENDED opt_ddb.h
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
||||
#if defined(SMP) && defined(I386_CPU)
|
||||
#if defined(SMP) && defined(I386_CPU) && !defined(COMPILING_LINT)
|
||||
#error SMP not supported with I386_CPU
|
||||
#endif
|
||||
#if defined(SMP) && !defined(APIC_IO)
|
||||
|
@ -41,8 +41,6 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#include "opt_lint.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/lock.h>
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
||||
#if defined(SMP) && defined(I386_CPU)
|
||||
#if defined(SMP) && defined(I386_CPU) && !defined(COMPILING_LINT)
|
||||
#error SMP not supported with I386_CPU
|
||||
#endif
|
||||
#if defined(SMP) && !defined(APIC_IO)
|
||||
|
Loading…
Reference in New Issue
Block a user