mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-09-22 12:42:50 +00:00
[PATCH] irq-flags: V850: 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: Miles Bader <uclinux-v850@lsi.nec.co.jp> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
bd6aa6502e
commit
8b91fbb833
4 changed files with 3 additions and 5 deletions
|
@ -154,7 +154,7 @@ static unsigned gbus_int_startup_irq (unsigned irq)
|
||||||
/* First enable the CPU interrupt. */
|
/* First enable the CPU interrupt. */
|
||||||
int rval =
|
int rval =
|
||||||
request_irq (IRQ_GINT(gint), gbus_int_handle_irq,
|
request_irq (IRQ_GINT(gint), gbus_int_handle_irq,
|
||||||
SA_INTERRUPT,
|
IRQF_DISABLED,
|
||||||
"gbus_int_handler",
|
"gbus_int_handler",
|
||||||
&gint_num_active_irqs[gint]);
|
&gint_num_active_irqs[gint]);
|
||||||
if (rval != 0)
|
if (rval != 0)
|
||||||
|
|
|
@ -263,7 +263,7 @@ static unsigned cb_pic_startup_irq (unsigned irq)
|
||||||
|
|
||||||
if (cb_pic_active_irqs == 0) {
|
if (cb_pic_active_irqs == 0) {
|
||||||
rval = request_irq (IRQ_CB_PIC, cb_pic_handle_irq,
|
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)
|
if (rval != 0)
|
||||||
return rval;
|
return rval;
|
||||||
}
|
}
|
||||||
|
|
|
@ -177,7 +177,7 @@ EXPORT_SYMBOL(do_settimeofday);
|
||||||
static int timer_dev_id;
|
static int timer_dev_id;
|
||||||
static struct irqaction timer_irqaction = {
|
static struct irqaction timer_irqaction = {
|
||||||
timer_interrupt,
|
timer_interrupt,
|
||||||
SA_INTERRUPT,
|
IRQF_DISABLED,
|
||||||
CPU_MASK_NONE,
|
CPU_MASK_NONE,
|
||||||
"timer",
|
"timer",
|
||||||
&timer_dev_id,
|
&timer_dev_id,
|
||||||
|
|
|
@ -77,7 +77,6 @@ typedef unsigned long sigset_t;
|
||||||
* SA_FLAGS values:
|
* SA_FLAGS values:
|
||||||
*
|
*
|
||||||
* SA_ONSTACK indicates that a registered stack_t will be used.
|
* 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_RESTART flag to get restarting signals (which were the default long ago)
|
||||||
* SA_NOCLDSTOP flag to turn off SIGCHLD when children stop.
|
* SA_NOCLDSTOP flag to turn off SIGCHLD when children stop.
|
||||||
* SA_RESETHAND clears the handler when the signal is delivered.
|
* SA_RESETHAND clears the handler when the signal is delivered.
|
||||||
|
@ -97,7 +96,6 @@ typedef unsigned long sigset_t;
|
||||||
|
|
||||||
#define SA_NOMASK SA_NODEFER
|
#define SA_NOMASK SA_NODEFER
|
||||||
#define SA_ONESHOT SA_RESETHAND
|
#define SA_ONESHOT SA_RESETHAND
|
||||||
#define SA_INTERRUPT 0x20000000 /* dummy -- ignored */
|
|
||||||
|
|
||||||
#define SA_RESTORER 0x04000000
|
#define SA_RESTORER 0x04000000
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue