Revert "UBUNTU: SAUCE: vga_set_mode -- avoid jump tables"
BugLink: https://bugs.launchpad.net/bugs/2046440 Not needed anymore with the change to make objtool warnings as fatal errors for RETPOLINE and SLS. Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
This commit is contained in:
committed by
Paolo Pisati
parent
bd433ee34b
commit
f8303bf23e
@@ -188,7 +188,7 @@ static void vga_set_80x60(void)
|
||||
vga_set_vertical_end(60*8);
|
||||
}
|
||||
|
||||
static int __attribute__((optimize("no-jump-tables"))) vga_set_mode(struct mode_info *mode)
|
||||
static int vga_set_mode(struct mode_info *mode)
|
||||
{
|
||||
/* Set the basic mode */
|
||||
vga_set_basic_mode();
|
||||
|
||||
Reference in New Issue
Block a user