[EMAIL PROTECTED] 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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to