Skip to content

Commit aff6014

Browse files
KAGA-KOKOLinus Torvalds
authored andcommitted
[PATCH] irq-flags: M32R: 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> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 121a422 commit aff6014

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

‎arch/m32r/kernel/time.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ irqreturn_t timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
237237
return IRQ_HANDLED;
238238
}
239239

240-
struct irqaction irq0 = { timer_interrupt, SA_INTERRUPT, CPU_MASK_NONE,
240+
struct irqaction irq0 = { timer_interrupt, IRQF_DISABLED, CPU_MASK_NONE,
241241
"MFT2", NULL, NULL };
242242

243243
void __init time_init(void)

‎include/asm-m32r/signal.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ typedef unsigned long sigset_t;
8181
* SA_FLAGS values:
8282
*
8383
* SA_ONSTACK indicates that a registered stack_t will be used.
84-
* SA_INTERRUPT is a no-op, but left due to historical reasons. Use the
8584
* SA_RESTART flag to get restarting signals (which were the default long ago)
8685
* SA_NOCLDSTOP flag to turn off SIGCHLD when children stop.
8786
* SA_RESETHAND clears the handler when the signal is delivered.
@@ -101,7 +100,6 @@ typedef unsigned long sigset_t;
101100

102101
#define SA_NOMASK SA_NODEFER
103102
#define SA_ONESHOT SA_RESETHAND
104-
#define SA_INTERRUPT 0x20000000 /* dummy -- ignored */
105103

106104
#define SA_RESTORER 0x04000000
107105

0 commit comments

Comments
 (0)