Re: Spinlock init

2007-06-20 Thread Jack Stone
Roland Dreier wrote: > > can rwlock_init and spin_lock_init be used outside of functions declared > > __init. The spinlock documentation suggests that it can't but I'd like > > someone to confirm that. > > Those function can be used in any function. A function is declared > __init if it only r

Re: Spinlock init

2007-06-20 Thread Roland Dreier
> can rwlock_init and spin_lock_init be used outside of functions declared > __init. The spinlock documentation suggests that it can't but I'd like > someone to confirm that. Those function can be used in any function. A function is declared __init if it only runs during the kernel startup, so