Skip to content

Commit

Permalink
[PATCH] irq-flags: V850: Use the new IRQF_ constants
Browse files Browse the repository at this point in the history
Use the new IRQF_ constants and remove the SA_INTERRUPT define

Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Miles Bader <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
KAGA-KOKO authored and Linus Torvalds committed Jul 2, 2006
1 parent bd6aa65 commit 8b91fbb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion arch/v850/kernel/gbus_int.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ static unsigned gbus_int_startup_irq (unsigned irq)
/* First enable the CPU interrupt. */
int rval =
request_irq (IRQ_GINT(gint), gbus_int_handle_irq,
SA_INTERRUPT,
IRQF_DISABLED,
"gbus_int_handler",
&gint_num_active_irqs[gint]);
if (rval != 0)
Expand Down
2 changes: 1 addition & 1 deletion arch/v850/kernel/rte_me2_cb.c
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ static unsigned cb_pic_startup_irq (unsigned irq)

if (cb_pic_active_irqs == 0) {
rval = request_irq (IRQ_CB_PIC, cb_pic_handle_irq,
SA_INTERRUPT, "cb_pic_handler", 0);
IRQF_DISABLED, "cb_pic_handler", 0);
if (rval != 0)
return rval;
}
Expand Down
2 changes: 1 addition & 1 deletion arch/v850/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ EXPORT_SYMBOL(do_settimeofday);
static int timer_dev_id;
static struct irqaction timer_irqaction = {
timer_interrupt,
SA_INTERRUPT,
IRQF_DISABLED,
CPU_MASK_NONE,
"timer",
&timer_dev_id,
Expand Down
2 changes: 0 additions & 2 deletions include/asm-v850/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ typedef unsigned long sigset_t;
* SA_FLAGS values:
*
* SA_ONSTACK indicates that a registered stack_t will be used.
* SA_INTERRUPT is a no-op, but left due to historical reasons. Use the
* SA_RESTART flag to get restarting signals (which were the default long ago)
* SA_NOCLDSTOP flag to turn off SIGCHLD when children stop.
* SA_RESETHAND clears the handler when the signal is delivered.
Expand All @@ -97,7 +96,6 @@ typedef unsigned long sigset_t;

#define SA_NOMASK SA_NODEFER
#define SA_ONESHOT SA_RESETHAND
#define SA_INTERRUPT 0x20000000 /* dummy -- ignored */

#define SA_RESTORER 0x04000000

Expand Down

0 comments on commit 8b91fbb

Please sign in to comment.