posix-cpu-timers: Remove lockdep_assert_irqs_disabled()
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 4 May 2018 15:25:48 +0000 (17:25 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 12 Jun 2018 15:18:37 +0000 (17:18 +0200)
commitc60c32a5775615d5456a09527aaa12e4a109c3da
tree7e4a93a10346308a373bb768f785aa60180405d5
parentd82991a8688ad128b46db1b42d5d84396487a508
posix-cpu-timers: Remove lockdep_assert_irqs_disabled()

The lockdep_assert_irqs_disabled() was a BUG_ON() statement in the
beginning and it was added just before the "spin_lock(siglock)"
statement to ensure this lock was taken with disabled interrupts.

This is no longer the case: the siglock is acquired via
lock_task_sighand() and this function already disables the interrupts.
The lock is also acquired before this "lockdep_assert_irqs_disabled" so
it is best to remove it.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Frederic Weisbecker <frederic@kernel.org>
Link: https://lkml.kernel.org/r20180504152548.7166-1-bigeasy@linutronix.de
kernel/time/posix-cpu-timers.c