Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758143AbXIXL4c (ORCPT ); Mon, 24 Sep 2007 07:56:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755696AbXIXL4Z (ORCPT ); Mon, 24 Sep 2007 07:56:25 -0400 Received: from pasmtpa.tele.dk ([80.160.77.114]:52325 "EHLO pasmtpA.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755613AbXIXL4Y (ORCPT ); Mon, 24 Sep 2007 07:56:24 -0400 Date: Mon, 24 Sep 2007 13:57:49 +0200 From: Sam Ravnborg To: Jaswinder Singh Cc: linux-kernel@vger.kernel.org Subject: Re: 2.6.22.7 autoconf.h is screwed up Message-ID: <20070924115749.GB3150@uranus.ravnborg.org> References: <3f9a31f40709240320mb213a7an87cee8bf5517d7f7@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3f9a31f40709240320mb213a7an87cee8bf5517d7f7@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1080 Lines: 28 On Mon, Sep 24, 2007 at 03:50:43PM +0530, Jaswinder Singh wrote: > Hi all, > > 2.6.22.7's include/linux/autoconf.h is completely screwed up as > compare to 2.6.10's autoconf.h . > > 2.6.22.7 totally changed the meaning of autoconf.h autoconf.h has always been autogenerated. And autoconf.h has always been used to publish the configuration to .c files. What changed between 2.6.10 and 26.22 are the algorithm used to produce autoconf.h. The interface to the kernel configuration is .config - and overwriting .config is an easy way to introduce a new config. autoconf.h is not suitable for this purpose and thus the actual layout does not matter. If you used to use autoconf.h for distributing kernel versions before I recommend you to use .config for now on. This should to my best knowlege also work for your 2.6.10 kernel. Sam - 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/