CONFIG_CORE_SMALL degrade genhd major names hash to linked list

Signed-off-by: Matt Mackall <[EMAIL PROTECTED]>

Index: tiny-new/drivers/block/genhd.c
===================================================================
--- tiny-new.orig/drivers/block/genhd.c 2004-11-17 00:04:36.000000000 -0800
+++ tiny-new/drivers/block/genhd.c      2004-11-17 10:30:10.992098381 -0800
@@ -15,7 +15,11 @@
 #include <linux/kmod.h>
 #include <linux/kobj_map.h>
 
+#ifdef CONFIG_CORE_SMALL
+#define MAX_PROBE_HASH 1 /* degrade to linked list */
+#else
 #define MAX_PROBE_HASH 255     /* random */
+#endif
 
 static struct subsystem block_subsys;
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to