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

From: Miller, Mike (OS Dev)
Date: Tue Feb 19 2008 - 17:26:35 EST




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

-- mikem
--
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/