Fix the serial driver with the devfs removal
[openwrt.git] / target / linux / brcm47xx-2.6 / patches / 150-cpu_fixes.patch
1 diff -urN linux-2.6.19.ref/arch/mips/kernel/genex.S linux-2.6.19/arch/mips/kernel/genex.S
2 --- linux-2.6.19.ref/arch/mips/kernel/genex.S 2006-11-29 22:57:37.000000000 +0100
3 +++ linux-2.6.19/arch/mips/kernel/genex.S 2006-12-04 21:34:09.000000000 +0100
4 @@ -73,6 +73,10 @@
5 .set push
6 .set mips3
7 .set noat
8 +#ifdef CONFIG_BCM947XX
9 + nop
10 + nop
11 +#endif
12 mfc0 k1, CP0_CAUSE
13 li k0, 31<<2
14 andi k1, k1, 0x7c
15 diff -urN linux-2.6.19.ref/include/asm-mips/stackframe.h linux-2.6.19/include/asm-mips/stackframe.h
16 --- linux-2.6.19.ref/include/asm-mips/stackframe.h 2006-11-29 22:57:37.000000000 +0100
17 +++ linux-2.6.19/include/asm-mips/stackframe.h 2006-12-04 21:34:09.000000000 +0100
18 @@ -334,6 +334,10 @@
19 .macro RESTORE_SP_AND_RET
20 LONG_L sp, PT_R29(sp)
21 .set mips3
22 +#ifdef CONFIG_BCM947XX
23 + nop
24 + nop
25 +#endif
26 eret
27 .set mips0
28 .endm
This page took 0.041453 seconds and 5 git commands to generate.