UBUNTU: SAUCE: vga_set_mode -- avoid jump tables
BugLink: http://bugs.launchpad.net/bugs/1758856 Signed-off-by: Andy Whitcroft <apw@canonical.com> Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
This commit is contained in:
committed by
Paolo Pisati
parent
e5e24f4025
commit
ac3bad6b29
@@ -188,7 +188,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();
|
||||
|
||||
Reference in New Issue
Block a user