diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2006-07-01 22:29:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-02 16:58:48 -0400 |
commit | bd6aa6502e7f82c39090aea29e4b644c29e720bd (patch) | |
tree | 170b011fec12097098f6e39f9c8a716578625fbc /arch/um/drivers/mconsole_kern.c | |
parent | 6741320247fbf147ab8aa41b2a7201425ac1e1df (diff) |
[PATCH] irq-flags: UM: Use the new IRQF_ constants
Use the new IRQF_ constants and remove the SA_INTERRUPT define
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/drivers/mconsole_kern.c')
-rw-r--r-- | arch/um/drivers/mconsole_kern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/mconsole_kern.c b/arch/um/drivers/mconsole_kern.c index 79149314ed04..b414522f7686 100644 --- a/arch/um/drivers/mconsole_kern.c +++ b/arch/um/drivers/mconsole_kern.c | |||
@@ -777,7 +777,7 @@ static int mconsole_init(void) | |||
777 | register_reboot_notifier(&reboot_notifier); | 777 | register_reboot_notifier(&reboot_notifier); |
778 | 778 | ||
779 | err = um_request_irq(MCONSOLE_IRQ, sock, IRQ_READ, mconsole_interrupt, | 779 | err = um_request_irq(MCONSOLE_IRQ, sock, IRQ_READ, mconsole_interrupt, |
780 | SA_INTERRUPT | SA_SHIRQ | SA_SAMPLE_RANDOM, | 780 | IRQF_DISABLED | IRQF_SHARED | IRQF_SAMPLE_RANDOM, |
781 | "mconsole", (void *)sock); | 781 | "mconsole", (void *)sock); |
782 | if (err){ | 782 | if (err){ |
783 | printk("Failed to get IRQ for management console\n"); | 783 | printk("Failed to get IRQ for management console\n"); |