Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ef6504e authored by Denys Vlasenko's avatar Denys Vlasenko Committed by Greg Kroah-Hartman
Browse files

tty: Deinline __ldsem_down_write_nested, save 128 bytes



This function compiles to 491 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 fc0285f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;