.. | .. |
---|
29 | 29 | #include <linux/slab.h> |
---|
30 | 30 | #include <linux/syscore_ops.h> |
---|
31 | 31 | #include <linux/ratelimit.h> |
---|
| 32 | +#include <linux/pgtable.h> |
---|
32 | 33 | |
---|
33 | 34 | #include <asm/ptrace.h> |
---|
34 | 35 | #include <asm/signal.h> |
---|
35 | 36 | #include <asm/io.h> |
---|
36 | | -#include <asm/pgtable.h> |
---|
37 | 37 | #include <asm/irq.h> |
---|
38 | 38 | #include <asm/machdep.h> |
---|
39 | 39 | #include <asm/mpic.h> |
---|
.. | .. |
---|
964 | 964 | }; |
---|
965 | 965 | |
---|
966 | 966 | #ifdef CONFIG_SMP |
---|
967 | | -static struct irq_chip mpic_ipi_chip = { |
---|
| 967 | +static const struct irq_chip mpic_ipi_chip = { |
---|
968 | 968 | .irq_mask = mpic_mask_ipi, |
---|
969 | 969 | .irq_unmask = mpic_unmask_ipi, |
---|
970 | 970 | .irq_eoi = mpic_end_ipi, |
---|
.. | .. |
---|
978 | 978 | }; |
---|
979 | 979 | |
---|
980 | 980 | #ifdef CONFIG_MPIC_U3_HT_IRQS |
---|
981 | | -static struct irq_chip mpic_irq_ht_chip = { |
---|
| 981 | +static const struct irq_chip mpic_irq_ht_chip = { |
---|
982 | 982 | .irq_startup = mpic_startup_ht_irq, |
---|
983 | 983 | .irq_shutdown = mpic_shutdown_ht_irq, |
---|
984 | 984 | .irq_mask = mpic_mask_irq, |
---|