m68k/mac: Clean up interrupt debug macros and printk statements
Mac interrupt code has been debugged. The Penguin deficiencies that still cause unhandled interrupts aren't fixable here. Besides, interrupts are fast and frequent and these printk statements were never really useful IMO. Remove them. Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
This commit is contained in:

committed by
Geert Uytterhoeven

parent
ed6344e1fd
commit
16a1a66a5e
@@ -14,8 +14,6 @@
|
||||
#include <asm/macints.h>
|
||||
#include <asm/mac_baboon.h>
|
||||
|
||||
/* #define DEBUG_IRQS */
|
||||
|
||||
int baboon_present;
|
||||
static volatile struct baboon *baboon;
|
||||
|
||||
@@ -50,12 +48,6 @@ static void baboon_irq(struct irq_desc *desc)
|
||||
int irq_bit, irq_num;
|
||||
unsigned char events;
|
||||
|
||||
#ifdef DEBUG_IRQS
|
||||
printk("baboon_irq: mb_control %02X mb_ifr %02X mb_status %02X\n",
|
||||
(uint) baboon->mb_control, (uint) baboon->mb_ifr,
|
||||
(uint) baboon->mb_status);
|
||||
#endif
|
||||
|
||||
events = baboon->mb_ifr & 0x07;
|
||||
if (!events)
|
||||
return;
|
||||
@@ -97,18 +89,10 @@ void __init baboon_register_interrupts(void)
|
||||
|
||||
void baboon_irq_enable(int irq)
|
||||
{
|
||||
#ifdef DEBUG_IRQUSE
|
||||
printk("baboon_irq_enable(%d)\n", irq);
|
||||
#endif
|
||||
|
||||
mac_irq_enable(irq_get_irq_data(IRQ_NUBUS_C));
|
||||
}
|
||||
|
||||
void baboon_irq_disable(int irq)
|
||||
{
|
||||
#ifdef DEBUG_IRQUSE
|
||||
printk("baboon_irq_disable(%d)\n", irq);
|
||||
#endif
|
||||
|
||||
mac_irq_disable(irq_get_irq_data(IRQ_NUBUS_C));
|
||||
}
|
||||
|
Reference in New Issue
Block a user