Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762429AbYBTAC0 (ORCPT ); Tue, 19 Feb 2008 19:02:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752597AbYBTACT (ORCPT ); Tue, 19 Feb 2008 19:02:19 -0500 Received: from smtp2.linux-foundation.org ([207.189.120.14]:41312 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752487AbYBTACS (ORCPT ); Tue, 19 Feb 2008 19:02:18 -0500 Date: Tue, 19 Feb 2008 15:59:02 -0800 From: Andrew Morton To: "Miller, Mike (OS Dev)" Cc: Alexey Dobriyan , "linux-kernel@vger.kernel.org" , "alexn@dsv.su.se" , "dwalker@mvista.com" Subject: Re: 2.6.25-rc2-mm1: new create_proc_entry() users Message-Id: <20080219155902.759604a2.akpm@linux-foundation.org> In-Reply-To: References: <20080216002522.9c4bd0fb.akpm@linux-foundation.org> <20080217105050.GC6596@martell.zuzino.mipt.ru> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1333 Lines: 31 On Tue, 19 Feb 2008 22:25:00 +0000 "Miller, Mike (OS Dev)" wrote: > > > > -----Original Message----- > > From: Alexey Dobriyan [mailto:adobriyan@gmail.com] > > Sent: Sunday, February 17, 2008 4:51 AM > > To: Andrew Morton > > Cc: linux-kernel@vger.kernel.org; Miller, Mike (OS Dev); > > alexn@dsv.su.se; dwalker@mvista.com > > Subject: 2.6.25-rc2-mm1: new create_proc_entry() users > > > > > profile-likely-unlikely-macros > > > page-owner-tracking-leak-detector > > > cciss-procfs-updates-to-display-info-about-many-volumes > > > > Guys, create_proc_entry() is slightly racy in case of modular code and > > proc_create() was invented to fix it. Eventually all > > create_proc_entry() users will be converted to proc_create(), > > so please do it for new code. > > > Why am I getting "implicit declaration of function 'proc_create'" when I try to use that function? I have kernel version 2.6.24, gcc version 4.1.1 20070105 (Red Hat 4.1.1-51). Am I missing a header file? > 2.6.24 is 47MB of diff ago. Please always develop and test against development kernels! -- 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/