projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79f0c9a
)
fbcon: Protect free_irq() by MACH_IS_ATARI check
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Tue, 18 Nov 2008 19:45:23 +0000
(20:45 +0100)
committer
Geert Uytterhoeven
<geert@linux-m68k.org>
Sun, 28 Dec 2008 19:00:06 +0000
(20:00 +0100)
Add missing check for Atari in free_irq() call, which could cause problems on
multi-platform m68k kernels.
Reported-by: Brad Boyer <flar@allandria.com>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
drivers/video/console/fbcon.c
patch
|
blob
|
history
diff --git
a/drivers/video/console/fbcon.c
b/drivers/video/console/fbcon.c
index
e99bb7c
..
4bcff81
100644
(file)
--- a/
drivers/video/console/fbcon.c
+++ b/
drivers/video/console/fbcon.c
@@
-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);