x86: remove deprecated IRQF_DISABLED
PATCH 1/1 x86: remove deprecated IRQF_DISABLED
This patch proposes to remove the IRQF_DISABLED flag from x86 architecture code. It's a NOOP since 2.6.35 and it will be removed one day.
x86/xen support code will be addressed in a separate patch.
--- arch/x86/include/asm/floppy.h | 4 ++-- arch/x86/kernel/hpet.c | 2 +- arch/x86/kernel/time.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
arch/x86/include/asm/floppy.h +2 -2
@@ -145,10 +145,10 @@ static int fd_request_irq(void) {if (can_use_virtual_dma)return request_irq (FLOPPY_IRQ , floppy_hardint, -IRQF_DISABLED ,"floppy" ,NULL ); +0 ,"floppy" ,NULL );else return request_irq (FLOPPY_IRQ , floppy_interrupt, -IRQF_DISABLED ,"floppy" ,NULL ); +0 ,"floppy" ,NULL ); }static unsigned long dma_mem_alloc (unsigned long size)
arch/x86/kernel/hpet.c +1 -1
@@ -521,7 +521,7 @@ static int hpet_setup_irq(struct hpet_dev *dev) {if (request_irq (dev->irq, hpet_interrupt_handler, -IRQF_TIMER |IRQF_DISABLED |IRQF_NOBALANCING , +IRQF_TIMER |IRQF_NOBALANCING , dev->name, dev))return -1 ;
arch/x86/kernel/time.c +1 -1
@@ -62,7 +62,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)static struct irqaction irq0 = { .handler = timer_interrupt, - .flags =IRQF_DISABLED |IRQF_NOBALANCING |IRQF_IRQPOLL |IRQF_TIMER , + .flags =IRQF_NOBALANCING |IRQF_IRQPOLL |IRQF_TIMER , .name ="timer" };
Signature · 1 line
1.8.1.2
PATCH RESEND 1/1 x86: remove deprecated IRQF_DISABLED
This patch proposes to remove the IRQF_DISABLED flag from x86 architecture code. It's a NOOP since 2.6.35 and it will be removed one day.
--- arch/x86/include/asm/floppy.h | 4 ++-- arch/x86/kernel/hpet.c | 2 +- arch/x86/kernel/time.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
arch/x86/include/asm/floppy.h +2 -2
@@ -145,10 +145,10 @@ static int fd_request_irq(void) {if (can_use_virtual_dma)return request_irq (FLOPPY_IRQ , floppy_hardint, -IRQF_DISABLED ,"floppy" ,NULL ); +0 ,"floppy" ,NULL );else return request_irq (FLOPPY_IRQ , floppy_interrupt, -IRQF_DISABLED ,"floppy" ,NULL ); +0 ,"floppy" ,NULL ); }static unsigned long dma_mem_alloc (unsigned long size)
arch/x86/kernel/hpet.c +1 -1
@@ -521,7 +521,7 @@ static int hpet_setup_irq(struct hpet_dev *dev) {if (request_irq (dev->irq, hpet_interrupt_handler, -IRQF_TIMER |IRQF_DISABLED |IRQF_NOBALANCING , +IRQF_TIMER |IRQF_NOBALANCING , dev->name, dev))return -1 ;
arch/x86/kernel/time.c +1 -1
@@ -62,7 +62,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)static struct irqaction irq0 = { .handler = timer_interrupt, - .flags =IRQF_DISABLED |IRQF_NOBALANCING |IRQF_IRQPOLL |IRQF_TIMER , + .flags =IRQF_NOBALANCING |IRQF_IRQPOLL |IRQF_TIMER , .name ="timer" };
Signature · 1 line
1.8.3.2
PATCH RESEND 1/1 x86: remove deprecated IRQF_DISABLED
This patch removes the IRQF_DISABLED flag from x86 architecture code. It's a NOOP since 2.6.35 and it will be removed one day.
--- arch/x86/include/asm/floppy.h | 4 ++-- arch/x86/kernel/hpet.c | 2 +- arch/x86/kernel/time.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
arch/x86/include/asm/floppy.h +2 -2
@@ -145,10 +145,10 @@ static int fd_request_irq(void) {if (can_use_virtual_dma)return request_irq (FLOPPY_IRQ , floppy_hardint, -IRQF_DISABLED ,"floppy" ,NULL ); +0 ,"floppy" ,NULL );else return request_irq (FLOPPY_IRQ , floppy_interrupt, -IRQF_DISABLED ,"floppy" ,NULL ); +0 ,"floppy" ,NULL ); }static unsigned long dma_mem_alloc (unsigned long size)
arch/x86/kernel/hpet.c +1 -1
@@ -521,7 +521,7 @@ static int hpet_setup_irq(struct hpet_dev *dev) {if (request_irq (dev->irq, hpet_interrupt_handler, -IRQF_TIMER |IRQF_DISABLED |IRQF_NOBALANCING , +IRQF_TIMER |IRQF_NOBALANCING , dev->name, dev))return -1 ;
arch/x86/kernel/time.c +1 -1
@@ -62,7 +62,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)static struct irqaction irq0 = { .handler = timer_interrupt, - .flags =IRQF_DISABLED |IRQF_NOBALANCING |IRQF_IRQPOLL |IRQF_TIMER , + .flags =IRQF_NOBALANCING |IRQF_IRQPOLL |IRQF_TIMER , .name ="timer" };
Signature · 1 line
1.8.3.2
tip-bot for Michael Opdenacker
merge bot[tip:irq/core] x86: Remove deprecated IRQF_DISABLED
x86: Remove deprecated IRQF_DISABLED
Commit-ID: d20d2efbf227042920d386b8eda878815f63c987 Gitweb: http://git.kernel.org/tip/d20d2efbf227042920d386b8eda878815f63c987 Author: Michael Opdenacker <[email protected]> AuthorDate: Tue, 4 Mar 2014 21:35:05 +0100 Committer: Thomas Gleixner <[email protected]> CommitDate: Tue, 4 Mar 2014 21:47:51 +0100
x86: Remove deprecated IRQF_DISABLED
This patch removes the IRQF_DISABLED flag from x86 architecture code. It's a NOOP since 2.6.35 and it will be removed one day.
--- arch/x86/include/asm/floppy.h | 4 ++-- arch/x86/kernel/hpet.c | 2 +- arch/x86/kernel/time.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
arch/x86/include/asm/floppy.h +2 -2
@@ -145,10 +145,10 @@ static int fd_request_irq(void) {if (can_use_virtual_dma)return request_irq (FLOPPY_IRQ , floppy_hardint, -IRQF_DISABLED ,"floppy" ,NULL ); +0 ,"floppy" ,NULL );else return request_irq (FLOPPY_IRQ , floppy_interrupt, -IRQF_DISABLED ,"floppy" ,NULL ); +0 ,"floppy" ,NULL ); }static unsigned long dma_mem_alloc (unsigned long size)
arch/x86/kernel/hpet.c +1 -1
@@ -521,7 +521,7 @@ static int hpet_setup_irq(struct hpet_dev *dev) {if (request_irq (dev->irq, hpet_interrupt_handler, -IRQF_TIMER |IRQF_DISABLED |IRQF_NOBALANCING , +IRQF_TIMER |IRQF_NOBALANCING , dev->name, dev))return -1 ;
arch/x86/kernel/time.c +1 -1
@@ -62,7 +62,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)static struct irqaction irq0 = { .handler = timer_interrupt, - .flags =IRQF_DISABLED |IRQF_NOBALANCING |IRQF_IRQPOLL |IRQF_TIMER , + .flags =IRQF_NOBALANCING |IRQF_IRQPOLL |IRQF_TIMER , .name ="timer" };