projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc0285f
)
tty: Deinline __ldsem_down_write_nested, save 128 bytes
author
Denys Vlasenko
<dvlasenk@redhat.com>
Tue, 27 Oct 2015 17:46:46 +0000
(18:46 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 14 Dec 2015 03:59:48 +0000
(19:59 -0800)
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>
drivers/tty/tty_ldsem.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/tty/tty_ldsem.c
b/drivers/tty/tty_ldsem.c
index f9010897d2ea559d96d938aec39258285481c0bf..1bf8ed13f82708d417cfc8ff9d670d46a674ee35 100644
(file)
--- 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 in
line in
t __ldsem_down_write_nested(struct ld_semaphore *sem,
+static int __ldsem_down_write_nested(struct ld_semaphore *sem,
int subclass, long timeout)
{
long count;