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 a297ffcf888e..b12385244bb5 100644 --- a/kernel/timer.c +++ b/kernel/timer.c | |||
@@ -1102,7 +1102,9 @@ static void call_timer_fn(struct timer_list *timer, void (*fn)(unsigned long), | |||
1102 | * warnings as well as problems when looking into | 1102 | * warnings as well as problems when looking into |
1103 | * timer->lockdep_map, make a copy and use that here. | 1103 | * timer->lockdep_map, make a copy and use that here. |
1104 | */ | 1104 | */ |
1105 | struct lockdep_map lockdep_map = timer->lockdep_map; | 1105 | struct lockdep_map lockdep_map; |
1106 | |||
1107 | lockdep_copy_map(&lockdep_map, &timer->lockdep_map); | ||
1106 | #endif | 1108 | #endif |
1107 | /* | 1109 | /* |
1108 | * Couple the lock chain with the lock chain at | 1110 | * Couple the lock chain with the lock chain at |