Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
d3ffd085
Commit
d3ffd085
authored
Aug 08, 2005
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use pr_debug instead of homegrown debug print macros.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
0ae12797
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
arch/mips/sgi-ip27/ip27-irq.c
arch/mips/sgi-ip27/ip27-irq.c
+6
-9
No files found.
arch/mips/sgi-ip27/ip27-irq.c
View file @
d3ffd085
...
@@ -5,6 +5,9 @@
...
@@ -5,6 +5,9 @@
* Copyright (C) 1999, 2000 Silicon Graphics, Inc.
* Copyright (C) 1999, 2000 Silicon Graphics, Inc.
* Copyright (C) 1999 - 2001 Kanoj Sarcar
* Copyright (C) 1999 - 2001 Kanoj Sarcar
*/
*/
#undef DEBUG
#include <linux/config.h>
#include <linux/config.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/irq.h>
#include <linux/irq.h>
...
@@ -18,6 +21,7 @@
...
@@ -18,6 +21,7 @@
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/random.h>
#include <linux/random.h>
#include <linux/smp_lock.h>
#include <linux/smp_lock.h>
#include <linux/kernel.h>
#include <linux/kernel_stat.h>
#include <linux/kernel_stat.h>
#include <linux/delay.h>
#include <linux/delay.h>
#include <linux/bitops.h>
#include <linux/bitops.h>
...
@@ -36,13 +40,6 @@
...
@@ -36,13 +40,6 @@
#include <asm/sn/hub.h>
#include <asm/sn/hub.h>
#include <asm/sn/intr.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.
* Linux has a controller-independent x86 interrupt architecture.
* every controller has a 'controller-template', that is used
* every controller has a 'controller-template', that is used
...
@@ -264,7 +261,7 @@ static unsigned int startup_bridge_irq(unsigned int irq)
...
@@ -264,7 +261,7 @@ static unsigned int startup_bridge_irq(unsigned int irq)
bc
=
IRQ_TO_BRIDGE
(
irq
);
bc
=
IRQ_TO_BRIDGE
(
irq
);
bridge
=
bc
->
base
;
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
* "map" irq to a swlevel greater than 6 since the first 6 bits
* of INT_PEND0 are taken
* of INT_PEND0 are taken
...
@@ -307,7 +304,7 @@ static void shutdown_bridge_irq(unsigned int irq)
...
@@ -307,7 +304,7 @@ static void shutdown_bridge_irq(unsigned int irq)
int
pin
,
swlevel
;
int
pin
,
swlevel
;
cpuid_t
cpu
;
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
);
pin
=
SLOT_FROM_PCI_IRQ
(
irq
);
/*
/*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment