Re: [PATCH] lib: atomic64: Initialize locks statically to fix early users

2012-12-20 Thread Tony Lindgren
* Stephen Boyd [121219 23:42]: > The atomic64 library uses a handful of static spin locks to > implement atomic 64-bit operations on architectures without > support for atomic 64-bit instructions. Unfortunately, the > spinlocks are initialized in a pure initcall and that is too late > for the vfs

[PATCH] lib: atomic64: Initialize locks statically to fix early users

2012-12-19 Thread Stephen Boyd
The atomic64 library uses a handful of static spin locks to implement atomic 64-bit operations on architectures without support for atomic 64-bit instructions. Unfortunately, the spinlocks are initialized in a pure initcall and that is too late for the vfs namespace code which wants to use atomic64