Commit fc0285f2 authored by Denys Vlasenko's avatar Denys Vlasenko Committed by Greg Kroah-Hartman

tty: Deinline __ldsem_down_read_nested, save 128 bytes

This function compiles to 479 bytes of machine code.
Signed-off-by: default avatarDenys Vlasenko <dvlasenk@redhat.com>
CC: Jiri Slaby <jslaby@suse.com>
CC: linux-serial@vger.kernel.org
Reviewed-by: default avatarPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent eba3b47b
...@@ -319,7 +319,7 @@ down_write_failed(struct ld_semaphore *sem, long count, long timeout) ...@@ -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) int subclass, long timeout)
{ {
long count; long count;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment