diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-11-13 15:19:10 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2020-12-01 15:43:38 -0500 |
commit | e7b624183d921b49ef0a96329f21647d38865ee9 (patch) | |
tree | f2c5c42d781a49a41759893828b509a4cbcf2d31 /drivers/parisc | |
parent | 89478335718c98557f10470a9bc5c555b9261c4e (diff) | |
download | linux-e7b624183d921b49ef0a96329f21647d38865ee9.tar.bz2 |
dm table: Remove BUG_ON(in_interrupt())
The BUG_ON(in_interrupt()) in dm_table_event() is a historic leftover from
a rework of the dm table code which changed the calling context.
Issuing a BUG for a wrong calling context is frowned upon and
in_interrupt() is deprecated and only covering parts of the wrong
contexts. The sanity check for the context is covered by
CONFIG_DEBUG_ATOMIC_SLEEP and other debug facilities already.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/parisc')
0 files changed, 0 insertions, 0 deletions