Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f877ebb authored by Geert Uytterhoeven's avatar Geert Uytterhoeven
Browse files

fbcon: Protect free_irq() by MACH_IS_ATARI check



Add missing check for Atari in free_irq() call, which could cause problems on
multi-platform m68k kernels.

Reported-by: default avatarBrad Boyer <flar@allandria.com>
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent 79f0c9a0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3455,6 +3455,7 @@ static void fbcon_exit(void)
		return;

#ifdef CONFIG_ATARI
	if (MACH_IS_ATARI)
		free_irq(IRQ_AUTO_4, fb_vbl_handler);
#endif