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/scsi/sym53c8xx_2/sym_glue.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/scsi/sym53c8xx_2/sym_glue.c')
-rw-r--r-- | drivers/scsi/sym53c8xx_2/sym_glue.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_glue.c b/drivers/scsi/sym53c8xx_2/sym_glue.c index 9c83b4d39a26..7677fba2ceb5 100644 --- a/drivers/scsi/sym53c8xx_2/sym_glue.c +++ b/drivers/scsi/sym53c8xx_2/sym_glue.c | |||
@@ -54,14 +54,8 @@ | |||
54 | #define NAME53C "sym53c" | 54 | #define NAME53C "sym53c" |
55 | #define NAME53C8XX "sym53c8xx" | 55 | #define NAME53C8XX "sym53c8xx" |
56 | 56 | ||
57 | /* SPARC just has to be different ... */ | ||
58 | #ifdef __sparc__ | ||
59 | #define IRQ_FMT "%s" | ||
60 | #define IRQ_PRM(x) __irq_itoa(x) | ||
61 | #else | ||
62 | #define IRQ_FMT "%d" | 57 | #define IRQ_FMT "%d" |
63 | #define IRQ_PRM(x) (x) | 58 | #define IRQ_PRM(x) (x) |
64 | #endif | ||
65 | 59 | ||
66 | struct sym_driver_setup sym_driver_setup = SYM_LINUX_DRIVER_SETUP; | 60 | struct sym_driver_setup sym_driver_setup = SYM_LINUX_DRIVER_SETUP; |
67 | unsigned int sym_debug_flags = 0; | 61 | unsigned int sym_debug_flags = 0; |