]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] MIPSsim: Fix build.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 12 Jul 2007 16:41:14 +0000 (17:41 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 12 Jul 2007 16:41:14 +0000 (17:41 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mipssim/sim_int.c
arch/mips/mipssim/sim_setup.c
arch/mips/mipssim/sim_time.c

index d86b37235cf6d12385496959bad4d88f2eced616..5cbc3509ab528990c187b8ba3805a2ad0b1750cd 100644 (file)
@@ -77,7 +77,7 @@ asmlinkage void plat_irq_dispatch(void)
        irq = irq_ffs(pending);
 
        if (irq > 0)
-               do_IRQ(MIPSCPU_INT_BASE + irq);
+               do_IRQ(MIPS_CPU_IRQ_BASE + irq);
        else
                spurious_interrupt();
 }
index 3643582bdadebcb2bd6038e85da7b9008d8c34d9..60e66906be659089d4b5e07d19f30be8a5c13d64 100644 (file)
@@ -84,7 +84,7 @@ static void __init serial_init(void)
        /* hardware int 4 - the serial int, is CPU int 6
         but poll for now */
        s.irq =  0;
-       s.uartclk = BASE_BAUD * 16;
+       s.uartclk = 1843200;
        s.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST;
        s.iotype = UPIO_PORT;
        s.regshift = 0;
index 874a18e8ac24b4ba2867457c80c2ddf88d3dc029..a0f5a5dca1b20bfbd97b1dbe89587327561e544e 100644 (file)
@@ -5,7 +5,6 @@
 #include <linux/spinlock.h>
 #include <linux/interrupt.h>
 #include <linux/mc146818rtc.h>
-#include <linux/mipsregs.h>
 #include <linux/smp.h>
 #include <linux/timex.h>