From: Peter Hurley Date: Wed, 10 Sep 2014 19:06:23 +0000 (-0400) Subject: serial: core: Document and assert lock requirements for irq helpers X-Git-Tag: fixes-for-v3.18-merge-window~14^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d90bb147ef6b91f529a21b498ff2b5fdc6785b4;p=pandora-kernel.git serial: core: Document and assert lock requirements for irq helpers The serial core provides two helper functions, uart_handle_dcd_change() and uart_handle_cts_change(), for UART drivers to use at interrupt time. The serial core expects the UART driver to hold the uart port lock when calling these helpers to prevent state corruption. If lockdep enabled, trigger a warning if the uart port lock is not held when calling these helper functions. Signed-off-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed