Commit 6fa851c3 authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Linus Torvalds

um: remove obsolete hw_interrupt_type

The defines and typedefs (hw_interrupt_type, no_irq_type, irq_desc_t) have
been kept around for migration reasons.  After more than two years it's
time to remove them finally.

This patch cleans up one of the remaining users.  When all such patches
hit mainline we can remove the defines and typedefs finally.

Impact: cleanup

Convert the last remaining users to struct irq_chip and remove the
define.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7e1cb780
...@@ -358,7 +358,7 @@ EXPORT_SYMBOL(um_request_irq); ...@@ -358,7 +358,7 @@ EXPORT_SYMBOL(um_request_irq);
EXPORT_SYMBOL(reactivate_fd); EXPORT_SYMBOL(reactivate_fd);
/* /*
* hw_interrupt_type must define (startup || enable) && * irq_chip must define (startup || enable) &&
* (shutdown || disable) && end * (shutdown || disable) && end
*/ */
static void dummy(unsigned int irq) static void dummy(unsigned int irq)
...@@ -366,7 +366,7 @@ static void dummy(unsigned int irq) ...@@ -366,7 +366,7 @@ static void dummy(unsigned int irq)
} }
/* This is used for everything else than the timer. */ /* This is used for everything else than the timer. */
static struct hw_interrupt_type normal_irq_type = { static struct irq_chip normal_irq_type = {
.typename = "SIGIO", .typename = "SIGIO",
.release = free_irq_by_irq_and_dev, .release = free_irq_by_irq_and_dev,
.disable = dummy, .disable = dummy,
...@@ -375,7 +375,7 @@ static struct hw_interrupt_type normal_irq_type = { ...@@ -375,7 +375,7 @@ static struct hw_interrupt_type normal_irq_type = {
.end = dummy .end = dummy
}; };
static struct hw_interrupt_type SIGVTALRM_irq_type = { static struct irq_chip SIGVTALRM_irq_type = {
.typename = "SIGVTALRM", .typename = "SIGVTALRM",
.release = free_irq_by_irq_and_dev, .release = free_irq_by_irq_and_dev,
.shutdown = dummy, /* never called */ .shutdown = dummy, /* never called */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment