diff options
Diffstat (limited to 'arch/mips/sgi-ip32')
-rw-r--r-- | arch/mips/sgi-ip32/ip32-irq.c | 10 | ||||
-rw-r--r-- | arch/mips/sgi-ip32/ip32-setup.c | 2 |
2 files changed, 2 insertions, 10 deletions
diff --git a/arch/mips/sgi-ip32/ip32-irq.c b/arch/mips/sgi-ip32/ip32-irq.c index 5c2bf111ca67..eb40824b172a 100644 --- a/arch/mips/sgi-ip32/ip32-irq.c +++ b/arch/mips/sgi-ip32/ip32-irq.c | |||
@@ -15,7 +15,6 @@ | |||
15 | #include <linux/irq.h> | 15 | #include <linux/irq.h> |
16 | #include <linux/bitops.h> | 16 | #include <linux/bitops.h> |
17 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
18 | #include <linux/slab.h> | ||
19 | #include <linux/mm.h> | 18 | #include <linux/mm.h> |
20 | #include <linux/random.h> | 19 | #include <linux/random.h> |
21 | #include <linux/sched.h> | 20 | #include <linux/sched.h> |
@@ -512,10 +511,6 @@ void __init arch_init_irq(void) | |||
512 | "level"); | 511 | "level"); |
513 | break; | 512 | break; |
514 | 513 | ||
515 | case CRIME_GBE0_IRQ ... CRIME_GBE3_IRQ: | ||
516 | set_irq_chip_and_handler_name(irq, | ||
517 | &crime_edge_interrupt, handle_edge_irq, "edge"); | ||
518 | break; | ||
519 | case CRIME_CPUERR_IRQ: | 514 | case CRIME_CPUERR_IRQ: |
520 | case CRIME_MEMERR_IRQ: | 515 | case CRIME_MEMERR_IRQ: |
521 | set_irq_chip_and_handler_name(irq, | 516 | set_irq_chip_and_handler_name(irq, |
@@ -523,12 +518,9 @@ void __init arch_init_irq(void) | |||
523 | "level"); | 518 | "level"); |
524 | break; | 519 | break; |
525 | 520 | ||
521 | case CRIME_GBE0_IRQ ... CRIME_GBE3_IRQ: | ||
526 | case CRIME_RE_EMPTY_E_IRQ ... CRIME_RE_IDLE_E_IRQ: | 522 | case CRIME_RE_EMPTY_E_IRQ ... CRIME_RE_IDLE_E_IRQ: |
527 | case CRIME_SOFT0_IRQ ... CRIME_SOFT2_IRQ: | 523 | case CRIME_SOFT0_IRQ ... CRIME_SOFT2_IRQ: |
528 | set_irq_chip_and_handler_name(irq, | ||
529 | &crime_edge_interrupt, handle_edge_irq, "edge"); | ||
530 | break; | ||
531 | |||
532 | case CRIME_VICE_IRQ: | 524 | case CRIME_VICE_IRQ: |
533 | set_irq_chip_and_handler_name(irq, | 525 | set_irq_chip_and_handler_name(irq, |
534 | &crime_edge_interrupt, handle_edge_irq, "edge"); | 526 | &crime_edge_interrupt, handle_edge_irq, "edge"); |
diff --git a/arch/mips/sgi-ip32/ip32-setup.c b/arch/mips/sgi-ip32/ip32-setup.c index c5a5d4a31b4b..3abd1465ec02 100644 --- a/arch/mips/sgi-ip32/ip32-setup.c +++ b/arch/mips/sgi-ip32/ip32-setup.c | |||
@@ -90,7 +90,7 @@ void __init plat_mem_setup(void) | |||
90 | { | 90 | { |
91 | char* con = ArcGetEnvironmentVariable("console"); | 91 | char* con = ArcGetEnvironmentVariable("console"); |
92 | if (con && *con == 'd') { | 92 | if (con && *con == 'd') { |
93 | static char options[8]; | 93 | static char options[8] __initdata; |
94 | char *baud = ArcGetEnvironmentVariable("dbaud"); | 94 | char *baud = ArcGetEnvironmentVariable("dbaud"); |
95 | if (baud) | 95 | if (baud) |
96 | strcpy(options, baud); | 96 | strcpy(options, baud); |