X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=lib%2Fdebug_locks.c;h=ce51749cc145f22e1ffbd2f5d22867f33b1b25cb;hb=e5585453498907080c456ec5b51131867ed6d095;hp=124fdf238b3d95739292424ef40c12b6b3c22308;hpb=9506a7425b094d2f1d9c877ed5a78f416669269b;p=sfrench%2Fcifs-2.6.git diff --git a/lib/debug_locks.c b/lib/debug_locks.c index 124fdf238b3d..ce51749cc145 100644 --- a/lib/debug_locks.c +++ b/lib/debug_locks.c @@ -21,7 +21,7 @@ * that would just muddy the log. So we report the first one and * shut up after that. */ -int debug_locks = 1; +int debug_locks __read_mostly = 1; EXPORT_SYMBOL_GPL(debug_locks); /* @@ -29,7 +29,7 @@ EXPORT_SYMBOL_GPL(debug_locks); * 'silent failure': nothing is printed to the console when * a locking bug is detected. */ -int debug_locks_silent; +int debug_locks_silent __read_mostly; EXPORT_SYMBOL_GPL(debug_locks_silent); /*