vt: Deinline save_screen, save 238 bytes

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>
This commit is contained in:
Denys Vlasenko 2015-10-27 18:46:47 +01:00 committed by Greg Kroah-Hartman
parent 5ef6504e9d
commit c0f160a735
1 changed files with 1 additions and 1 deletions

View File

@ -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();