hugetlb: introduce generic version of hugetlb_free_pgd_range
[linux/fpc-iii.git] / arch / sh / boards / mach-se / 7751 / irq.c
blobdcefe58d87534b67f05500eca44a47fcc7ff6513
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * linux/arch/sh/boards/se/7751/irq.c
5 * Copyright (C) 2000 Kazumoto Kojima
7 * Hitachi SolutionEngine Support.
9 * Modified for 7751 Solution Engine by
10 * Ian da Silva and Jeremy Siegel, 2001.
13 #include <linux/init.h>
14 #include <linux/irq.h>
15 #include <asm/irq.h>
16 #include <mach-se/mach/se7751.h>
18 static struct ipr_data ipr_irq_table[] = {
19 { 13, 3, 3, 2 },
20 /* Add additional entries here as drivers are added and tested. */
23 static unsigned long ipr_offsets[] = {
24 BCR_ILCRA,
25 BCR_ILCRB,
26 BCR_ILCRC,
27 BCR_ILCRD,
28 BCR_ILCRE,
29 BCR_ILCRF,
30 BCR_ILCRG,
33 static struct ipr_desc ipr_irq_desc = {
34 .ipr_offsets = ipr_offsets,
35 .nr_offsets = ARRAY_SIZE(ipr_offsets),
37 .ipr_data = ipr_irq_table,
38 .nr_irqs = ARRAY_SIZE(ipr_irq_table),
40 .chip = {
41 .name = "IPR-se7751",
46 * Initialize IRQ setting
48 void __init init_7751se_IRQ(void)
50 register_ipr_controller(&ipr_irq_desc);