2 * Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar
3 * Copyright (C) 2005-2006, Thomas Gleixner, Russell King
5 * This file contains the dummy interrupt chip implementation
7 #include <linux/interrupt.h>
10 #include "internals.h"
13 * What should we do if we get a hw irq event on an illegal vector?
14 * Each architecture has to answer this themself.
16 static void ack_bad(struct irq_data *data)
18 struct irq_desc *desc = irq_data_to_desc(data);
20 print_irq_desc(data->irq, desc);
21 ack_bad_irq(data->irq);
27 static void noop(struct irq_data *data) { }
29 static unsigned int noop_ret(struct irq_data *data)
35 * Generic no controller implementation
37 struct irq_chip no_irq_chip = {
39 .irq_startup = noop_ret,
47 * Generic dummy implementation which can be used for
48 * real dumb interrupt sources
50 struct irq_chip dummy_irq_chip = {
52 .irq_startup = noop_ret,