[PATCH] m68k: adjust to changed HARDIRQ_MASK
Adjust entry.S to the changed HARDIRQ_MASK, add a check to prevent it from silently breaking again. Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
2dcf15b78d
commit
6d2f16a891
@@ -95,6 +95,12 @@ void __init init_IRQ(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
/* assembly irq entry code relies on this... */
|
||||
if (HARDIRQ_MASK != 0x00ff0000) {
|
||||
extern void hardirq_mask_is_broken(void);
|
||||
hardirq_mask_is_broken();
|
||||
}
|
||||
|
||||
for (i = 0; i < SYS_IRQS; i++) {
|
||||
if (mach_default_handler)
|
||||
irq_list[i].handler = (*mach_default_handler)[i];
|
||||
|
Reference in New Issue
Block a user