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:
5ef6504
)
vt: Deinline save_screen, save 238 bytes
author
Denys Vlasenko
<dvlasenk@redhat.com>
Tue, 27 Oct 2015 17:46:47 +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 79 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/vt/vt.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/tty/vt/vt.c
b/drivers/tty/vt/vt.c
index 4462d167900c515abbf205b2b6134016c0933390..e7cbc44eef57529a23c479413538f1c2f924b55c 100644
(file)
--- a/
drivers/tty/vt/vt.c
+++ b/
drivers/tty/vt/vt.c
@@
-634,7
+634,7
@@
static void set_origin(struct vc_data *vc)
vc->vc_pos = vc->vc_origin + vc->vc_size_row * vc->vc_y + 2 * vc->vc_x;
}
-static
inline
void save_screen(struct vc_data *vc)
+static void save_screen(struct vc_data *vc)
{
WARN_CONSOLE_UNLOCKED();