diff options
Diffstat (limited to 'arch/ppc/platforms/sandpoint.c')
-rw-r--r-- | arch/ppc/platforms/sandpoint.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/arch/ppc/platforms/sandpoint.c b/arch/ppc/platforms/sandpoint.c index 21e31346b1..84c96cb9ac 100644 --- a/arch/ppc/platforms/sandpoint.c +++ b/arch/ppc/platforms/sandpoint.c | |||
@@ -509,15 +509,6 @@ sandpoint_init_IRQ(void) | |||
509 | i8259_init(0xfef00000); | 509 | i8259_init(0xfef00000); |
510 | } | 510 | } |
511 | 511 | ||
512 | static u32 | ||
513 | sandpoint_irq_canonicalize(u32 irq) | ||
514 | { | ||
515 | if (irq == 2) | ||
516 | return 9; | ||
517 | else | ||
518 | return irq; | ||
519 | } | ||
520 | |||
521 | static unsigned long __init | 512 | static unsigned long __init |
522 | sandpoint_find_end_of_memory(void) | 513 | sandpoint_find_end_of_memory(void) |
523 | { | 514 | { |
@@ -728,10 +719,10 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5, | |||
728 | ISA_DMA_THRESHOLD = 0x00ffffff; | 719 | ISA_DMA_THRESHOLD = 0x00ffffff; |
729 | DMA_MODE_READ = 0x44; | 720 | DMA_MODE_READ = 0x44; |
730 | DMA_MODE_WRITE = 0x48; | 721 | DMA_MODE_WRITE = 0x48; |
722 | ppc_do_canonicalize_irqs = 1; | ||
731 | 723 | ||
732 | ppc_md.setup_arch = sandpoint_setup_arch; | 724 | ppc_md.setup_arch = sandpoint_setup_arch; |
733 | ppc_md.show_cpuinfo = sandpoint_show_cpuinfo; | 725 | ppc_md.show_cpuinfo = sandpoint_show_cpuinfo; |
734 | ppc_md.irq_canonicalize = sandpoint_irq_canonicalize; | ||
735 | ppc_md.init_IRQ = sandpoint_init_IRQ; | 726 | ppc_md.init_IRQ = sandpoint_init_IRQ; |
736 | ppc_md.get_irq = openpic_get_irq; | 727 | ppc_md.get_irq = openpic_get_irq; |
737 | 728 | ||