Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/pmax/pmax Fix compile problems for kernels configur...
details: https://anonhg.NetBSD.org/src/rev/29ab9f17215c
branches: trunk
changeset: 514143:29ab9f17215c
user: simonb <simonb%NetBSD.org@localhost>
date: Fri Aug 24 00:22:53 2001 +0000
description:
Fix compile problems for kernels configured for MIPS1 support only.
Patch from Thilo Manske in PR #13703.
diffstat:
sys/arch/pmax/pmax/cpu.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 24ffd12e9a27 -r 29ab9f17215c sys/arch/pmax/pmax/cpu.c
--- a/sys/arch/pmax/pmax/cpu.c Fri Aug 24 00:16:25 2001 +0000
+++ b/sys/arch/pmax/pmax/cpu.c Fri Aug 24 00:22:53 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.18 2001/06/27 08:20:45 nisimura Exp $ */
+/* $NetBSD: cpu.c,v 1.19 2001/08/24 00:22:53 simonb Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -113,6 +113,7 @@
mips_L1ICacheSize/1024, mips_L1DCacheSize/1024);
printf("%s: ", dev->dv_xname);
+#ifdef MIPS3
if (!mips_L2CachePresent)
printf("no L2 cache\n");
else
@@ -120,5 +121,6 @@
mips_L2CacheSize/1024, mips_L2CacheLSize,
mips_L2CacheMixed ? "mixed" : "separated",
mips_L2CacheIsSnooping? "snooping" : "no snooping");
+#endif
}
}
Home |
Main Index |
Thread Index |
Old Index