Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755554AbYGHSb1 (ORCPT ); Tue, 8 Jul 2008 14:31:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752920AbYGHSbQ (ORCPT ); Tue, 8 Jul 2008 14:31:16 -0400 Received: from smtp5.pp.htv.fi ([213.243.153.39]:47893 "EHLO smtp5.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751057AbYGHSbQ (ORCPT ); Tue, 8 Jul 2008 14:31:16 -0400 Date: Tue, 8 Jul 2008 21:30:20 +0300 From: Adrian Bunk To: Johannes Berg Cc: linux-kernel@vger.kernel.org, Rusty Russell , Christoph Hellwig , video4linux-list@redhat.com, David Woodhouse , linux-ppp@vger.kernel.org, dm-devel@redhat.com Subject: Re: [RFC 04/11] remove CONFIG_KMOD from drivers Message-ID: <20080708183019.GA11954@cs181140183.pp.htv.fi> References: <20080708170015.470877000@sipsolutions.net> <20080708170044.262684000@sipsolutions.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20080708170044.262684000@sipsolutions.net> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 994 Lines: 33 On Tue, Jul 08, 2008 at 07:00:19PM +0200, Johannes Berg wrote: >... > --- everything.orig/drivers/md/md.c 2008-07-08 18:46:21.000000000 +0200 > +++ everything/drivers/md/md.c 2008-07-08 18:49:10.000000000 +0200 >... > @@ -3410,7 +3405,7 @@ static int do_md_run(mddev_t * mddev) > } > } > > -#ifdef CONFIG_KMOD > +#ifdef CONFIG_MODULES > if (mddev->level != LEVEL_NONE) > request_module("md-level-%d", mddev->level); > else if (mddev->clevel[0]) >... You can remove the #ifdef cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed -- 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/