Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/include Don't pull in cpu.h in non-kernel code.



details:   https://anonhg.NetBSD.org/src/rev/054e06b73f04
branches:  trunk
changeset: 482685:054e06b73f04
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Sat Feb 19 09:22:51 2000 +0000

description:
Don't pull in cpu.h in non-kernel code.

diffstat:

 sys/arch/mips/include/mips_param.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 9236c37902e1 -r 054e06b73f04 sys/arch/mips/include/mips_param.h
--- a/sys/arch/mips/include/mips_param.h        Sat Feb 19 09:08:16 2000 +0000
+++ b/sys/arch/mips/include/mips_param.h        Sat Feb 19 09:22:51 2000 +0000
@@ -1,6 +1,8 @@
-/*     $NetBSD: mips_param.h,v 1.17 2000/02/11 19:25:16 thorpej Exp $  */
+/*     $NetBSD: mips_param.h,v 1.18 2000/02/19 09:22:51 mycroft Exp $  */
 
+#ifdef _KERNEL
 #include <machine/cpu.h>
+#endif
 
 /*
  * On mips, UPAGES is fixed by sys/arch/mips/mips/locore code



Home | Main Index | Thread Index | Old Index