aboutsummaryrefslogtreecommitdiffstats
path: root/fs/char_dev.c
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2005-04-17 13:57:20 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-17 13:57:20 -0400
commit1d4d5b325315f064e8cd4efaefbe50cdda0357c7 (patch)
treeb4a2bc39f9c60a28d965ed2586dc33dd02816392 /fs/char_dev.c
parenta757e64cfa400391041ed7953f0290c34a820c93 (diff)
[PATCH] revert fs/char_dev.c CONFIG_BASE_FULL change
This reverts a fs/char_dev.c patch that was merged into BK on March 3. The problem is that it breaks things ... __register_chrdev_region() has a block of code, commented "temporary" for over two years now, which fails rudely during PCMCIA initialization or other register_chrdev() calls, because it doesn't "degrade to linked list". This keeps whole subsystems from working. A real fix to that "temporary" code should be possible, using some better scheme to allocate major numbers, but it's not something I want to spend time on just now. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Acked-by: Matt Mackall <mpm@selenic.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/char_dev.c')
-rw-r--r--fs/char_dev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/char_dev.c b/fs/char_dev.c
index 7357a9127df1..a745b1d9e545 100644
--- a/fs/char_dev.c
+++ b/fs/char_dev.c
@@ -26,8 +26,7 @@
26 26
27static struct kobj_map *cdev_map; 27static struct kobj_map *cdev_map;
28 28
29/* degrade to linked list for small systems */ 29#define MAX_PROBE_HASH 255 /* random */
30#define MAX_PROBE_HASH (CONFIG_BASE_SMALL ? 1 : 255)
31 30
32static DECLARE_MUTEX(chrdevs_lock); 31static DECLARE_MUTEX(chrdevs_lock);
33 32