diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2015-10-27 18:46:45 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-14 04:59:48 +0100 |
commit | fc0285f210500acad01dd8bd578dcd7f013db064 (patch) | |
tree | 7e3d1883d8a1de82abeced9355a38f3128e617ae /drivers/tty | |
parent | serial/vt8500_serial: Deinline wait_for_xmitr, save 165 bytes (diff) | |
download | linux-fc0285f210500acad01dd8bd578dcd7f013db064.tar.xz linux-fc0285f210500acad01dd8bd578dcd7f013db064.zip |
tty: Deinline __ldsem_down_read_nested, save 128 bytes
This function compiles to 479 bytes of machine code.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
CC: Jiri Slaby <jslaby@suse.com>
CC: linux-serial@vger.kernel.org
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/tty_ldsem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/tty_ldsem.c b/drivers/tty/tty_ldsem.c index ad7eba5ca380..f9010897d2ea 100644 --- a/drivers/tty/tty_ldsem.c +++ b/drivers/tty/tty_ldsem.c @@ -319,7 +319,7 @@ down_write_failed(struct ld_semaphore *sem, long count, long timeout) -static inline int __ldsem_down_read_nested(struct ld_semaphore *sem, +static int __ldsem_down_read_nested(struct ld_semaphore *sem, int subclass, long timeout) { long count; |