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:
Andrea Righi
2024-01-10 10:21:49 +01:00
committed by Paolo Pisati
parent bd433ee34b
commit f8303bf23e
+1 -1
View File
@@ -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();