diff options
| -rw-r--r-- | arch/tile/Kconfig | 1 | ||||
| -rw-r--r-- | arch/tile/kernel/irq.c | 41 |
2 files changed, 1 insertions, 41 deletions
diff --git a/arch/tile/Kconfig b/arch/tile/Kconfig index f3b78701c219..5e34a9fee9b3 100644 --- a/arch/tile/Kconfig +++ b/arch/tile/Kconfig | |||
| @@ -12,6 +12,7 @@ config TILE | |||
| 12 | select GENERIC_IRQ_PROBE | 12 | select GENERIC_IRQ_PROBE |
| 13 | select GENERIC_PENDING_IRQ if SMP | 13 | select GENERIC_PENDING_IRQ if SMP |
| 14 | select GENERIC_HARDIRQS_NO_DEPRECATED | 14 | select GENERIC_HARDIRQS_NO_DEPRECATED |
| 15 | select GENERIC_IRQ_SHOW | ||
| 15 | 16 | ||
| 16 | # FIXME: investigate whether we need/want these options. | 17 | # FIXME: investigate whether we need/want these options. |
| 17 | # select HAVE_IOREMAP_PROT | 18 | # select HAVE_IOREMAP_PROT |
diff --git a/arch/tile/kernel/irq.c b/arch/tile/kernel/irq.c index 83302826239b..aa0134db2dd6 100644 --- a/arch/tile/kernel/irq.c +++ b/arch/tile/kernel/irq.c | |||
| @@ -262,47 +262,6 @@ void ack_bad_irq(unsigned int irq) | |||
| 262 | * Generic, controller-independent functions: | 262 | * Generic, controller-independent functions: |
| 263 | */ | 263 | */ |
| 264 | 264 | ||
| 265 | int show_interrupts(struct seq_file *p, void *v) | ||
| 266 | { | ||
| 267 | int i = *(loff_t *) v, j; | ||
| 268 | struct irqaction *action; | ||
| 269 | unsigned long flags; | ||
| 270 | |||
| 271 | if (i == 0) { | ||
| 272 | seq_printf(p, " "); | ||
| 273 | for (j = 0; j < NR_CPUS; j++) | ||
| 274 | if (cpu_online(j)) | ||
| 275 | seq_printf(p, "CPU%-8d", j); | ||
| 276 | seq_putc(p, '\n'); | ||
| 277 | } | ||
| 278 | |||
| 279 | if (i < NR_IRQS) { | ||
| 280 | struct irq_desc *desc = irq_to_desc(i); | ||
| 281 | |||
| 282 | raw_spin_lock_irqsave(&desc->lock, flags); | ||
| 283 | action = desc->action; | ||
| 284 | if (!action) | ||
| 285 | goto skip; | ||
| 286 | seq_printf(p, "%3d: ", i); | ||
| 287 | #ifndef CONFIG_SMP | ||
| 288 | seq_printf(p, "%10u ", kstat_irqs(i)); | ||
| 289 | #else | ||
| 290 | for_each_online_cpu(j) | ||
| 291 | seq_printf(p, "%10u ", kstat_irqs_cpu(i, j)); | ||
| 292 | #endif | ||
| 293 | seq_printf(p, " %14s", irq_desc_get_chip(desc)->name); | ||
| 294 | seq_printf(p, " %s", action->name); | ||
| 295 | |||
| 296 | for (action = action->next; action; action = action->next) | ||
| 297 | seq_printf(p, ", %s", action->name); | ||
| 298 | |||
| 299 | seq_putc(p, '\n'); | ||
| 300 | skip: | ||
| 301 | raw_spin_unlock_irqrestore(&desc->lock, flags); | ||
| 302 | } | ||
| 303 | return 0; | ||
| 304 | } | ||
| 305 | |||
| 306 | #if CHIP_HAS_IPI() | 265 | #if CHIP_HAS_IPI() |
| 307 | int create_irq(void) | 266 | int create_irq(void) |
| 308 | { | 267 | { |
