aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <[email protected]>2015-10-27 18:46:45 +0100
committerGreg Kroah-Hartman <[email protected]>2015-12-13 19:59:48 -0800
commitfc0285f210500acad01dd8bd578dcd7f013db064 (patch)
tree7e3d1883d8a1de82abeced9355a38f3128e617ae
parenteba3b47b26191385326406903120ca6f88300785 (diff)
tty: Deinline __ldsem_down_read_nested, save 128 bytes
This function compiles to 479 bytes of machine code. Signed-off-by: Denys Vlasenko <[email protected]> CC: Jiri Slaby <[email protected]> CC: [email protected] Reviewed-by: Peter Hurley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
-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 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;