Module Name: src
Committed By: matt
Date: Fri Nov 4 07:47:40 UTC 2011
Modified Files:
src/sys/arch/mips/mips [matt-nb5-mips64]: mips_fixup.c
Log Message:
Correct a thinko. (but since these rarely cross a cacheline, the bug isn't
that serious).
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.11 -r1.1.2.12 src/sys/arch/mips/mips/mips_fixup.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mips/mips/mips_fixup.c
diff -u src/sys/arch/mips/mips/mips_fixup.c:1.1.2.11 src/sys/arch/mips/mips/mips_fixup.c:1.1.2.12
--- src/sys/arch/mips/mips/mips_fixup.c:1.1.2.11 Thu May 26 19:21:56 2011
+++ src/sys/arch/mips/mips/mips_fixup.c Fri Nov 4 07:47:40 2011
@@ -135,7 +135,8 @@ mips_fixup_exceptions(mips_fixup_callbac
}
if (fixed)
- mips_icache_sync_range((vaddr_t)start, end - start);
+ mips_icache_sync_range((vaddr_t)start,
+ sizeof(start[0]) * (end - start));
return fixed;
}