mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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: Brad Boyer <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]>
This commit is contained in:
parent
79f0c9a047
commit
7f877ebb32
1 changed files with 2 additions and 1 deletions
|
|
@ -3455,7 +3455,8 @@ static void fbcon_exit(void)
|
|||
return;
|
||||
|
||||
#ifdef CONFIG_ATARI
|
||||
free_irq(IRQ_AUTO_4, fb_vbl_handler);
|
||||
if (MACH_IS_ATARI)
|
||||
free_irq(IRQ_AUTO_4, fb_vbl_handler);
|
||||
#endif
|
||||
|
||||
kfree((void *)softback_buf);
|
||||
|
|
|
|||
Loading…
Reference in a new issue