diff options
Diffstat (limited to 'kernel/timer.c')
| -rw-r--r-- | kernel/timer.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/timer.c b/kernel/timer.c index 837c552fe83..09de9a941cd 100644 --- a/kernel/timer.c +++ b/kernel/timer.c @@ -1108,7 +1108,9 @@ static void call_timer_fn(struct timer_list *timer, void (*fn)(unsigned long),  	 * warnings as well as problems when looking into  	 * timer->lockdep_map, make a copy and use that here.  	 */ -	struct lockdep_map lockdep_map = timer->lockdep_map; +	struct lockdep_map lockdep_map; + +	lockdep_copy_map(&lockdep_map, &timer->lockdep_map);  #endif  	/*  	 * Couple the lock chain with the lock chain at  |