aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/serial_core.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2014-09-10 14:31:39 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-23 21:06:21 -0700
commit9a37110d20c95d1ebf6c04881177fe8f62831db2 (patch)
tree6c997c35c6e3193fc73e4bfeb74ddc5fee56f233 /drivers/tty/serial/serial_core.c
parenttty: serial_mctrl_gpio: Fix COMPILE_TEST build for architectures with custom termios.h (diff)
downloadlinux-dev-9a37110d20c95d1ebf6c04881177fe8f62831db2.tar.xz
linux-dev-9a37110d20c95d1ebf6c04881177fe8f62831db2.zip
locking: Add WARN_ON_ONCE lock assertion
An interface may need to assert a lock invariant and not flood the system logs; add a lockdep helper macro equivalent to lockdep_assert_held() which only WARNs once. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Acked-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/serial_core.c')
0 files changed, 0 insertions, 0 deletions