summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2015-10-27 18:46:46 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-14 04:59:48 +0100
commit5ef6504e9d0dcada48384b41d2cd77dba295bd36 (patch)
tree4fc6d1447faba4fd8feab67bbe9e085c321731bf
parenttty: Deinline __ldsem_down_read_nested, save 128 bytes (diff)
downloadlinux-5ef6504e9d0dcada48384b41d2cd77dba295bd36.tar.xz
linux-5ef6504e9d0dcada48384b41d2cd77dba295bd36.zip
tty: Deinline __ldsem_down_write_nested, save 128 bytes
This function compiles to 491 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>
-rw-r--r--drivers/tty/tty_ldsem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/tty_ldsem.c b/drivers/tty/tty_ldsem.c
index f9010897d2ea..1bf8ed13f827 100644
--- a/drivers/tty/tty_ldsem.c
+++ b/drivers/tty/tty_ldsem.c
@@ -338,7 +338,7 @@ static int __ldsem_down_read_nested(struct ld_semaphore *sem,
return 1;
}
-static inline int __ldsem_down_write_nested(struct ld_semaphore *sem,
+static int __ldsem_down_write_nested(struct ld_semaphore *sem,
int subclass, long timeout)
{
long count;