Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 30 Oct 2001 19:14:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 30 Oct 2001 19:14:17 -0500 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:50449 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Tue, 30 Oct 2001 19:14:11 -0500 Date: Tue, 30 Oct 2001 16:12:36 -0800 (PST) From: Linus Torvalds To: Alan Cox cc: Denis Zaitsev , Subject: Re: [PATCH] init/main.c/root_dev_names - another one #ifdef In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 31 Oct 2001, Alan Cox wrote: > > It took that out deliberately a few months back. The ifdefs in fact > break stuff > > Firstly the array is __init so is discarded on boot I think that array really is broken. We should get the name association from the array that "register_blkdev()" maintains, I'm sure. That way random stupid driver X doesn't need to touch a common init/main.c file, which I find personally offensive. Linus - 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/