lkml.org 
[lkml]   [2008]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRE: 2.6.25-rc2-mm1: new create_proc_entry() users


> -----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?

-- mikem


\
 
 \ /
  Last update: 2008-02-19 23:29    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site