spi: efm32: Convert to use GPIO descriptors
[linux/fpc-iii.git] / arch / ia64 / kernel / irq_lsapic.c
blob23bf4499a75d9937432a3b67316f1c6ae75cd80e
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * LSAPIC Interrupt Controller
5 * This takes care of interrupts that are generated by the CPU's
6 * internal Streamlined Advanced Programmable Interrupt Controller
7 * (LSAPIC), such as the ITC and IPI interrupts.
9 * Copyright (C) 1999 VA Linux Systems
10 * Copyright (C) 1999 Walt Drummond <drummond@valinux.com>
11 * Copyright (C) 2000 Hewlett-Packard Co
12 * Copyright (C) 2000 David Mosberger-Tang <davidm@hpl.hp.com>
15 #include <linux/sched.h>
16 #include <linux/irq.h>
18 static unsigned int
19 lsapic_noop_startup (struct irq_data *data)
21 return 0;
24 static void
25 lsapic_noop (struct irq_data *data)
27 /* nothing to do... */
30 static int lsapic_retrigger(struct irq_data *data)
32 ia64_resend_irq(data->irq);
34 return 1;
37 struct irq_chip irq_type_ia64_lsapic = {
38 .name = "LSAPIC",
39 .irq_startup = lsapic_noop_startup,
40 .irq_shutdown = lsapic_noop,
41 .irq_enable = lsapic_noop,
42 .irq_disable = lsapic_noop,
43 .irq_ack = lsapic_noop,
44 .irq_retrigger = lsapic_retrigger,