Skip to content

Commit 85ac3ab

Browse files
KAGA-KOKOLinus Torvalds
authored andcommitted
[PATCH] irq-flags: XTENSA: 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: Chris Zankel <chris@zankel.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent b1e05aa commit 85ac3ab

2 files changed

Lines changed: 1 addition & 16 deletions

File tree

‎arch/xtensa/kernel/time.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ unsigned long long sched_clock(void)
5252
static irqreturn_t timer_interrupt(int irq, void *dev_id, struct pt_regs *regs);
5353
static struct irqaction timer_irqaction = {
5454
.handler = timer_interrupt,
55-
.flags = SA_INTERRUPT,
55+
.flags = IRQF_DISABLED,
5656
.name = "timer",
5757
};
5858

‎include/asm-xtensa/signal.h‎

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ typedef struct {
7575
* SA_FLAGS values:
7676
*
7777
* SA_ONSTACK indicates that a registered stack_t will be used.
78-
* SA_INTERRUPT is a no-op, but left due to historical reasons. Use the
7978
* SA_RESTART flag to get restarting signals (which were the default long ago)
8079
* SA_NOCLDSTOP flag to turn off SIGCHLD when children stop.
8180
* SA_RESETHAND clears the handler when the signal is delivered.
@@ -95,7 +94,6 @@ typedef struct {
9594

9695
#define SA_NOMASK SA_NODEFER
9796
#define SA_ONESHOT SA_RESETHAND
98-
#define SA_INTERRUPT 0x20000000 /* dummy -- ignored */
9997

10098
#define SA_RESTORER 0x04000000
10199

@@ -109,19 +107,6 @@ typedef struct {
109107
#define SIGSTKSZ 8192
110108

111109
#ifndef __ASSEMBLY__
112-
#ifdef __KERNEL__
113-
114-
/*
115-
* These values of sa_flags are used only by the kernel as part of the
116-
* irq handling routines.
117-
*
118-
* SA_INTERRUPT is also used by the irq handling routines.
119-
* SA_SHIRQ is for shared interrupt support on PCI and EISA.
120-
*/
121-
#define SA_SAMPLE_RANDOM SA_RESTART
122-
#define SA_SHIRQ 0x04000000
123-
#define SA_PROBEIRQ 0x08000000
124-
#endif
125110

126111
#define SIG_BLOCK 0 /* for blocking signals */
127112
#define SIG_UNBLOCK 1 /* for unblocking signals */

0 commit comments

Comments
 (0)