From: Denys Vlasenko Date: Tue, 27 Oct 2015 17:46:45 +0000 (+0100) Subject: tty: Deinline __ldsem_down_read_nested, save 128 bytes X-Git-Tag: v4.5-rc1~123^2~73 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fc0285f210500acad01dd8bd578dcd7f013db064;p=karo-tx-linux.git tty: Deinline __ldsem_down_read_nested, save 128 bytes This function compiles to 479 bytes of machine code. Signed-off-by: Denys Vlasenko CC: Jiri Slaby CC: linux-serial@vger.kernel.org Reviewed-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- 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;