diff options
author | David S. Miller <davem@davemloft.net> | 2006-06-20 04:21:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-06-20 04:21:29 -0400 |
commit | c6387a48cf5958e43c201fc27a158c328927531a (patch) | |
tree | a6c24951d6c86ac47bd3f0ba198adbfffd03291b /drivers/atm/fore200e.c | |
parent | 6a76267f0e52d920e6bb6da75541e6116d7304da (diff) |
[SPARC]: Kill __irq_itoa().
This ugly hack was long overdue to die.
It was a way to print out Sparc interrupts in a more freindly format,
since IRQ numbers were arbitrary opaque 32-bit integers which vectored
into PIL levels. These 32-bit integers were not necessarily in the
0-->NR_IRQS range, but the PILs they vectored to were.
The idea now is that we will increase NR_IRQS a little bit and use a
virtual<-->real IRQ number mapping scheme similar to PowerPC.
That makes this IRQ printing hack irrelevant, and furthermore only a
handful of drivers actually used __irq_itoa() making it even less
useful.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm/fore200e.c')
-rw-r--r-- | drivers/atm/fore200e.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c index 05983a312d50..92923bf27233 100644 --- a/drivers/atm/fore200e.c +++ b/drivers/atm/fore200e.c | |||
@@ -167,13 +167,9 @@ fore200e_atm2fore_aal(int aal) | |||
167 | static char* | 167 | static char* |
168 | fore200e_irq_itoa(int irq) | 168 | fore200e_irq_itoa(int irq) |
169 | { | 169 | { |
170 | #if defined(__sparc_v9__) | ||
171 | return __irq_itoa(irq); | ||
172 | #else | ||
173 | static char str[8]; | 170 | static char str[8]; |
174 | sprintf(str, "%d", irq); | 171 | sprintf(str, "%d", irq); |
175 | return str; | 172 | return str; |
176 | #endif | ||
177 | } | 173 | } |
178 | 174 | ||
179 | 175 | ||