Commit 18c969f6 authored by Andy Whitcroft's avatar Andy Whitcroft Committed by Juerg Haefliger

UBUNTU: SAUCE: vga_set_mode -- avoid jump tables

BugLink: http://bugs.launchpad.net/bugs/1758856Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
Acked-by: default avatarStefan Bader <stefan.bader@canonical.com>
Signed-off-by: default avatarJuerg Haefliger <juergh@canonical.com>
parent fa744426
......@@ -190,7 +190,7 @@ static void vga_set_80x60(void)
vga_set_vertical_end(60*8);
}
static int vga_set_mode(struct mode_info *mode)
static int __attribute__((optimize("no-jump-tables"))) vga_set_mode(struct mode_info *mode)
{
/* Set the basic mode */
vga_set_basic_mode();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment