oops, one file got left out.. also add a profile for the WRTSL54GS - still from noz :)
[openwrt-10.03/.git] / target / linux / brcm47xx-2.6 / patches / 180-cpu_fixes2.patch
1 --- linux-2.6.21.1/arch/mips/bcm947xx/irq.c.orig        2007-05-18 21:27:17.000000000 +0100
2 +++ linux-2.6.21.1/arch/mips/bcm947xx/irq.c     2007-05-24 23:25:38.000000000 +0100
3 @@ -59,5 +59,5 @@
4  
5  void __init arch_init_irq(void)
6  {
7 -       mips_cpu_irq_init(0);
8 +       mips_cpu_irq_init();
9  }
10 --- linux-2.6.21.1/arch/mips/bcm947xx/prom.c.orig       2007-05-18 21:27:17.000000000 +0100
11 +++ linux-2.6.21.1/arch/mips/bcm947xx/prom.c    2007-05-24 23:46:06.000000000 +0100
12 @@ -56,7 +56,6 @@
13         add_memory_region(0, mem, BOOT_MEM_RAM);
14  }
15  
16 -unsigned long __init prom_free_prom_memory(void)
17 +void __init prom_free_prom_memory(void)
18  {
19 -       return 0;
20  }
21 --- linux-2.6.21.1/drivers/mtd/maps/bcm47xx-flash.c.orig        2007-05-18 21:27:17.000000000 +0100
22 +++ linux-2.6.21.1/drivers/mtd/maps/bcm47xx-flash.c     2007-05-25 00:22:18.000000000 +0100
23 @@ -40,6 +40,7 @@
24  #include <linux/module.h>
25  #include <linux/types.h>
26  #include <linux/kernel.h>
27 +#include <linux/sched.h>
28  #include <linux/wait.h>
29  #include <linux/mtd/mtd.h>
30  #include <linux/mtd/map.h>