DIAGNOSTIC should not change the kernel version for LKMs.
okay chs@
This commit is contained in:
parent
9033a1369b
commit
b080dda9b1
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: lkm.h,v 1.39 2006/05/15 14:31:29 christos Exp $ */
|
||||
/* $NetBSD: lkm.h,v 1.40 2006/09/22 15:17:55 elad Exp $ */
|
||||
|
||||
/*
|
||||
* Header file used by loadable kernel modules and loadable kernel module
|
||||
@ -271,12 +271,6 @@ struct lkm_table {
|
||||
/*
|
||||
* Environment encoding, for LKM<->kernel compatibility check.
|
||||
*/
|
||||
#ifdef DIAGNOSTIC
|
||||
#define _LKM_E_DIAGNOSTIC ",DIAGNOSTIC"
|
||||
#else
|
||||
#define _LKM_E_DIAGNOSTIC ""
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG
|
||||
#define _LKM_E_DEBUG ",DEBUG"
|
||||
#else
|
||||
@ -302,7 +296,7 @@ struct lkm_table {
|
||||
#endif
|
||||
|
||||
#define _LKM_ENV_VERSION \
|
||||
_LKM_E_DEBUG _LKM_E_DIAGNOSTIC _LKM_E_LOCKDEBUG \
|
||||
_LKM_E_DEBUG _LKM_E_LOCKDEBUG \
|
||||
_LKM_E_MULTIPROCESSOR _LKM_E_MALLOCLOG
|
||||
|
||||
int lkm_nofunc(struct lkm_table *, int);
|
||||
|
Loading…
Reference in New Issue
Block a user