mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-16 10:17:32 +00:00
ia64: Convert lsapic to new irq_chip functions
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
f1f701e937
commit
5c217b60fe
@ -15,30 +15,30 @@
|
|||||||
#include <linux/irq.h>
|
#include <linux/irq.h>
|
||||||
|
|
||||||
static unsigned int
|
static unsigned int
|
||||||
lsapic_noop_startup (unsigned int irq)
|
lsapic_noop_startup (struct irq_data *data)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
lsapic_noop (unsigned int irq)
|
lsapic_noop (struct irq_data *data)
|
||||||
{
|
{
|
||||||
/* nothing to do... */
|
/* nothing to do... */
|
||||||
}
|
}
|
||||||
|
|
||||||
static int lsapic_retrigger(unsigned int irq)
|
static int lsapic_retrigger(struct irq_data *data)
|
||||||
{
|
{
|
||||||
ia64_resend_irq(irq);
|
ia64_resend_irq(data->irq);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct irq_chip irq_type_ia64_lsapic = {
|
struct irq_chip irq_type_ia64_lsapic = {
|
||||||
.name = "LSAPIC",
|
.name = "LSAPIC",
|
||||||
.startup = lsapic_noop_startup,
|
.irq_startup = lsapic_noop_startup,
|
||||||
.shutdown = lsapic_noop,
|
.irq_shutdown = lsapic_noop,
|
||||||
.enable = lsapic_noop,
|
.irq_enable = lsapic_noop,
|
||||||
.disable = lsapic_noop,
|
.irq_disable = lsapic_noop,
|
||||||
.ack = lsapic_noop,
|
.irq_ack = lsapic_noop,
|
||||||
.retrigger = lsapic_retrigger,
|
.irq_retrigger = lsapic_retrigger,
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user