From b080dda9b1f047477d7169f6bf9b72667ae71865 Mon Sep 17 00:00:00 2001 From: elad Date: Fri, 22 Sep 2006 15:17:55 +0000 Subject: [PATCH] DIAGNOSTIC should not change the kernel version for LKMs. okay chs@ --- sys/sys/lkm.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/sys/sys/lkm.h b/sys/sys/lkm.h index 11d6a9fdc0c6..5faff9774159 100644 --- a/sys/sys/lkm.h +++ b/sys/sys/lkm.h @@ -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);