Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11178
b: refs/heads/master
c: d3ffd08
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent d49ef96 commit d91329b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0ae12797581a25832aea7011192d023a348ae5ab
refs/heads/master: d3ffd085536c1801da74c098e25fd3985671e15d
15 changes: 6 additions & 9 deletions trunk/arch/mips/sgi-ip27/ip27-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
* Copyright (C) 1999, 2000 Silicon Graphics, Inc.
* Copyright (C) 1999 - 2001 Kanoj Sarcar
*/

#undef DEBUG

#include <linux/config.h>
#include <linux/init.h>
#include <linux/irq.h>
Expand All @@ -18,6 +21,7 @@
#include <linux/slab.h>
#include <linux/random.h>
#include <linux/smp_lock.h>
#include <linux/kernel.h>
#include <linux/kernel_stat.h>
#include <linux/delay.h>
#include <linux/bitops.h>
Expand All @@ -36,13 +40,6 @@
#include <asm/sn/hub.h>
#include <asm/sn/intr.h>

#undef DEBUG_IRQ
#ifdef DEBUG_IRQ
#define DBG(x...) printk(x)
#else
#define DBG(x...)
#endif

/*
* Linux has a controller-independent x86 interrupt architecture.
* every controller has a 'controller-template', that is used
Expand Down Expand Up @@ -264,7 +261,7 @@ static unsigned int startup_bridge_irq(unsigned int irq)
bc = IRQ_TO_BRIDGE(irq);
bridge = bc->base;

DBG("bridge_startup(): irq= 0x%x pin=%d\n", irq, pin);
pr_debug("bridge_startup(): irq= 0x%x pin=%d\n", irq, pin);
/*
* "map" irq to a swlevel greater than 6 since the first 6 bits
* of INT_PEND0 are taken
Expand Down Expand Up @@ -307,7 +304,7 @@ static void shutdown_bridge_irq(unsigned int irq)
int pin, swlevel;
cpuid_t cpu;

DBG("bridge_shutdown: irq 0x%x\n", irq);
pr_debug("bridge_shutdown: irq 0x%x\n", irq);
pin = SLOT_FROM_PCI_IRQ(irq);

/*
Expand Down

0 comments on commit d91329b

Please sign in to comment.