locking: add more standard locks
commitcf2c0856ec3d93ba46846aa71ca163a16b150a47
authorDan Carpenter <error27@gmail.com>
Mon, 29 Mar 2010 06:13:02 +0000 (29 09:13 +0300)
committerDan Carpenter <error27@gmail.com>
Mon, 29 Mar 2010 06:13:02 +0000 (29 09:13 +0300)
tree605b3dded4c8bc3fcc90180fc355bbdf5408d42b
parent9e27f87ded73aae871b94c5c161feb52d4c59e77
locking: add more standard locks

For some kernel releases spin_lock() was always a macro.  Now it's a
function.

I decided that all of the functions that start with a single underscore
probably have a no underscore version as well.  They could be macros now
but they may become real functions later on.  So I added them all.

Signed-off-by: Dan Carpenter <error27@gmail.com>
check_locking.c