From: Kent Overstreet Date: Fri, 28 Dec 2012 06:21:58 +0000 (-0800) Subject: Export __lockdep_no_validate__ X-Git-Tag: v3.12-rc1~856^2~36^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea6749c705d9e629ed03c7336cc929fc6014b834;p=kernel%2Fkernel-generic.git Export __lockdep_no_validate__ Hack, but bcache needs a way around lockdep for locking during garbage collection - we need to keep multiple btree nodes locked for coalescing and rw_lock_nested() isn't really sufficient or appropriate here. Signed-off-by: Kent Overstreet CC: Peter Zijlstra CC: Ingo Molnar --- diff --git a/kernel/lockdep.c b/kernel/lockdep.c index 259db20..60248a7 100644 --- a/kernel/lockdep.c +++ b/kernel/lockdep.c @@ -2997,6 +2997,7 @@ void lockdep_init_map(struct lockdep_map *lock, const char *name, EXPORT_SYMBOL_GPL(lockdep_init_map); struct lock_class_key __lockdep_no_validate__; +EXPORT_SYMBOL_GPL(__lockdep_no_validate__); static int print_lock_nested_lock_not_held(struct task_struct *curr,