lkml.org 
[lkml]   [2001]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: The 2.4 /proc module change
afei@jhu.edu wrote:
>
> In the old 2.x kernels, a /proc module registers itself through
> proc_register(&proc_root, &proc_self) and unregister itself through
> proc_unregister(&proc_root, inode)

Use create_proc[_read]_entry and remove_proc_entry instead...
create_proc_read_entry was added in 2.3, but {create,remove}_proc_entry
should work in 2.2 also, iirc.
--
Jeff Garzik | Game called on account of naked chick
Building 1024 |
MandrakeSoft |
-
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/
\
 
 \ /
  Last update: 2005-03-22 13:17    [W:0.132 / U:0.300 seconds]
©2003-2014 Jasper Spaans. Advertise on this site