comparison sources/patches/linux-mips64fix.patch @ 1233:a4734fc22a6d

Revert the kernel commit that broke mips64.
author Rob Landley <rob@landley.net>
date Sat, 04 Sep 2010 17:55:54 -0500
parents
children
comparison
equal deleted inserted replaced
1232:e93f17722cdf 1233:a4734fc22a6d
1 Commit f6be75d03c88 broke mips64, for no obvious reason. Reverting it fixes
2 things.
3
4 diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
5 index 1a4dd65..4e00f9b 100644
6 --- a/arch/mips/kernel/traps.c
7 +++ b/arch/mips/kernel/traps.c
8 @@ -1599,7 +1599,7 @@ void __init trap_init(void)
9 ebase = (unsigned long)
10 __alloc_bootmem(size, 1 << fls(size), 0);
11 } else {
12 - ebase = CKSEG0;
13 + ebase = CAC_BASE;
14 if (cpu_has_mips_r2)
15 ebase += (read_c0_ebase() & 0x3ffff000);
16 }