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

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
...@@ -3455,6 +3455,7 @@ static void fbcon_exit(void) ...@@ -3455,6 +3455,7 @@ static void fbcon_exit(void)
return; return;
#ifdef CONFIG_ATARI #ifdef CONFIG_ATARI
if (MACH_IS_ATARI)
free_irq(IRQ_AUTO_4, fb_vbl_handler); free_irq(IRQ_AUTO_4, fb_vbl_handler);
#endif #endif
......
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