Re: 2.6.25-rc2-mm1: new create_proc_entry() users

From: Andrew Morton
Date: Tue Feb 19 2008 - 19:02:30 EST


On Tue, 19 Feb 2008 22:25:00 +0000 "Miller, Mike (OS Dev)" <Mike.Miller@xxxxxx> wrote:

>
>
> > -----Original Message-----
> > From: Alexey Dobriyan [mailto:adobriyan@xxxxxxxxx]
> > Sent: Sunday, February 17, 2008 4:51 AM
> > To: Andrew Morton
> > Cc: linux-kernel@xxxxxxxxxxxxxxx; Miller, Mike (OS Dev);
> > alexn@xxxxxxxxx; dwalker@xxxxxxxxxx
> > 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/