| * Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar |
| * Copyright (C) 2005-2006, Thomas Gleixner, Russell King |
| * This file contains the dummy interrupt chip implementation |
| #include <linux/interrupt.h> |
| #include <linux/export.h> |
| * What should we do if we get a hw irq event on an illegal vector? |
| * Each architecture has to answer this themself. |
| static void ack_bad(struct irq_data *data) |
| struct irq_desc *desc = irq_data_to_desc(data); |
| print_irq_desc(data->irq, desc); |
| static void noop(struct irq_data *data) { } |
| static unsigned int noop_ret(struct irq_data *data) |
| * Generic no controller implementation |
| struct irq_chip no_irq_chip = { |
| * Generic dummy implementation which can be used for |
| * real dumb interrupt sources |
| struct irq_chip dummy_irq_chip = { |
| EXPORT_SYMBOL_GPL(dummy_irq_chip); |