Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753797AbZI0KW7 (ORCPT ); Sun, 27 Sep 2009 06:22:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753784AbZI0KW6 (ORCPT ); Sun, 27 Sep 2009 06:22:58 -0400 Received: from [195.41.46.236] ([195.41.46.236]:50366 "EHLO pfepb.post.tele.dk" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1753781AbZI0KW6 (ORCPT ); Sun, 27 Sep 2009 06:22:58 -0400 Date: Sun, 27 Sep 2009 12:22:56 +0200 From: Sam Ravnborg To: Bernard Pidoux Cc: linux-kernel@vger.kernel.org Subject: Re: 2.6.31.1 BUG #include Message-ID: <20090927102256.GA10295@merkur.ravnborg.org> References: <4ABF36DF.90101@upmc.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4ABF36DF.90101@upmc.fr> 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: 750 Lines: 23 On Sun, Sep 27, 2009 at 11:56:47AM +0200, Bernard Pidoux wrote: > In kernel 2.6.31.1 the following files in > > /usr/src/linux-2.6.31.1/include/asm-generic/ > > include > > while they should #include It would be wrong to include the generic version directly. We need access to the arch specifics definitions before we include the generic version. See how different architectures does various things in their: arch/$(ARCH)/include/asm/bitsperlong.h 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/