aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-04 20:29:37 +0100
committerThomas Gleixner <tglx@linutronix.de>2011-03-29 14:48:02 +0200
commit5c217b60fed39ed2ac6a2e8b788df4a74fa68878 (patch)
tree6308a0e899ca0ed30d3d94ee4339a1c81341b7fb /arch/ia64
parentf1f701e937b542368a43b55b437ac90d74d724d9 (diff)
downloadkernel_samsung_smdk4412-5c217b60fed39ed2ac6a2e8b788df4a74fa68878.zip
kernel_samsung_smdk4412-5c217b60fed39ed2ac6a2e8b788df4a74fa68878.tar.gz
kernel_samsung_smdk4412-5c217b60fed39ed2ac6a2e8b788df4a74fa68878.tar.bz2
ia64: Convert lsapic to new irq_chip functions
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/kernel/irq_lsapic.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/arch/ia64/kernel/irq_lsapic.c b/arch/ia64/kernel/irq_lsapic.c
index a50dffa..1b3a776 100644
--- a/arch/ia64/kernel/irq_lsapic.c
+++ b/arch/ia64/kernel/irq_lsapic.c
@@ -15,30 +15,30 @@
#include <linux/irq.h>
static unsigned int
-lsapic_noop_startup (unsigned int irq)
+lsapic_noop_startup (struct irq_data *data)
{
return 0;
}
static void
-lsapic_noop (unsigned int irq)
+lsapic_noop (struct irq_data *data)
{
/* 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;
}
struct irq_chip irq_type_ia64_lsapic = {
- .name = "LSAPIC",
- .startup = lsapic_noop_startup,
- .shutdown = lsapic_noop,
- .enable = lsapic_noop,
- .disable = lsapic_noop,
- .ack = lsapic_noop,
- .retrigger = lsapic_retrigger,
+ .name = "LSAPIC",
+ .irq_startup = lsapic_noop_startup,
+ .irq_shutdown = lsapic_noop,
+ .irq_enable = lsapic_noop,
+ .irq_disable = lsapic_noop,
+ .irq_ack = lsapic_noop,
+ .irq_retrigger = lsapic_retrigger,
};