Mercurial > hg > aboriginal
changeset 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 | e93f17722cdf |
children | d6e6c9ddf7f9 |
files | sources/patches/linux-mips64fix.patch |
diffstat | 1 files changed, 16 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/patches/linux-mips64fix.patch Sat Sep 04 17:55:54 2010 -0500 @@ -0,0 +1,16 @@ +Commit f6be75d03c88 broke mips64, for no obvious reason. Reverting it fixes +things. + +diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c +index 1a4dd65..4e00f9b 100644 +--- a/arch/mips/kernel/traps.c ++++ b/arch/mips/kernel/traps.c +@@ -1599,7 +1599,7 @@ void __init trap_init(void) + ebase = (unsigned long) + __alloc_bootmem(size, 1 << fls(size), 0); + } else { +- ebase = CKSEG0; ++ ebase = CAC_BASE; + if (cpu_has_mips_r2) + ebase += (read_c0_ebase() & 0x3ffff000); + }