[DRBD-cvs] drbd by phil; An excellent patch by LGE * A generic fi...
drbd-user@lists.linbit.com
drbd-user@lists.linbit.com
Thu, 8 Jul 2004 10:04:54 +0200 (CEST)
DRBD CVS committal
Author : phil
Module : drbd
Dir : drbd/drbd/linux
Modified Files:
Tag: rel-0_7-branch
drbd_config.h
Log Message:
An excellent patch by LGE
* A generic find_next_bit() for linux-2.4.x compatibility on exotic
architectures.
* Additional debugging code for drbd_bitmap.c (only enabled if DUMP_MD>3)
* An additional option to drbd_config.h to disable find_next_bit() on
Linux-2.4.x (probabely vendor kernels have it already...)
===================================================================
RCS file: /var/lib/cvs/drbd/drbd/drbd/linux/Attic/drbd_config.h,v
retrieving revision 1.1.2.18
retrieving revision 1.1.2.19
diff -u -3 -r1.1.2.18 -r1.1.2.19
--- drbd_config.h 5 Jul 2004 13:32:58 -0000 1.1.2.18
+++ drbd_config.h 8 Jul 2004 08:04:49 -0000 1.1.2.19
@@ -20,7 +20,7 @@
#ifndef DRBD_CONFIG_H
#define DRBD_CONFIG_H
-#define REL_VERSION "0.7-pre8 cvs $Date: 2004/07/05 13:32:58 $"
+#define REL_VERSION "0.7-pre8 cvs $Date: 2004/07/08 08:04:49 $"
#define API_VERSION 74
#define PRO_VERSION 73
@@ -35,6 +35,13 @@
//#define SIGHAND_HACK // Needed for RH 2.4.20 and later kernels.
//#define REDHAT_HLIST_BACKPORT // Makes DRBD work on RH9 kernels
+
+//Your 2.4 verndor kernel already defines find_next_bit()
+//#define HAVE_FIND_NEXT_BIT
+
+//Your 2.4 kernel does not define find_next_bit(),
+//and you are too lazy to "backport" it from 2.6 for your arch:
+//#define USE_GENERIC_FIND_NEXT_BIT
#define PARANOIA // some extra checks