Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262596AbVAVAid (ORCPT ); Fri, 21 Jan 2005 19:38:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262642AbVAVAST (ORCPT ); Fri, 21 Jan 2005 19:18:19 -0500 Received: from waste.org ([216.27.176.166]:35207 "EHLO waste.org") by vger.kernel.org with ESMTP id S262627AbVAVAJz (ORCPT ); Fri, 21 Jan 2005 19:09:55 -0500 Date: Fri, 21 Jan 2005 18:09:48 -0600 From: Matt Mackall To: Andrew Morton X-PatchBomber: http://selenic.com/scripts/mailpatches Cc: Linux Kernel In-Reply-To: <2.464233479@selenic.com> Message-Id: <3.464233479@selenic.com> Subject: [PATCH 2/8] core-small: Collapse major names hash Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 864 Lines: 25 CONFIG_CORE_SMALL degrade genhd major names hash to linked list Signed-off-by: Matt Mackall 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 #include +#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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/