Commit 0ede3c05 authored by Johannes Berg's avatar Johannes Berg Committed by Richard Weinberger

um: Clean up alarm IRQ chip name

We don't use "SIGVTALRM", it's just SIGALRM. Clean up the naming.
While at it, fix the comment's grammar.
Acked-By: default avatarAnton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Acked-By: default avatarAnton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent aaf5800e
...@@ -481,7 +481,7 @@ static void dummy(struct irq_data *d) ...@@ -481,7 +481,7 @@ static void dummy(struct irq_data *d)
{ {
} }
/* This is used for everything else than the timer. */ /* This is used for everything other than the timer. */
static struct irq_chip normal_irq_type = { static struct irq_chip normal_irq_type = {
.name = "SIGIO", .name = "SIGIO",
.irq_disable = dummy, .irq_disable = dummy,
...@@ -491,8 +491,8 @@ static struct irq_chip normal_irq_type = { ...@@ -491,8 +491,8 @@ static struct irq_chip normal_irq_type = {
.irq_unmask = dummy, .irq_unmask = dummy,
}; };
static struct irq_chip SIGVTALRM_irq_type = { static struct irq_chip alarm_irq_type = {
.name = "SIGVTALRM", .name = "SIGALRM",
.irq_disable = dummy, .irq_disable = dummy,
.irq_enable = dummy, .irq_enable = dummy,
.irq_ack = dummy, .irq_ack = dummy,
...@@ -504,8 +504,7 @@ void __init init_IRQ(void) ...@@ -504,8 +504,7 @@ void __init init_IRQ(void)
{ {
int i; int i;
irq_set_chip_and_handler(TIMER_IRQ, &SIGVTALRM_irq_type, handle_edge_irq); irq_set_chip_and_handler(TIMER_IRQ, &alarm_irq_type, handle_edge_irq);
for (i = 1; i < NR_IRQS; i++) for (i = 1; i < NR_IRQS; i++)
irq_set_chip_and_handler(i, &normal_irq_type, handle_edge_irq); irq_set_chip_and_handler(i, &normal_irq_type, handle_edge_irq);
......
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